![]() ![]() | intro/students1.c - Et simpelt program med variable og assignments. | Lektion 2 - slide 5 : 24 Program 1 |
#include <stdio.h> int main(void) { int courses, groups, students, average_pr_group; courses = 1; groups = 26; students = 176; average_pr_group = students / groups; printf("There are %d students pr. group in %d course(s)\n", average_pr_group, courses); return 0; }