



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




International University 1 IT116IU
GRADING CHECKLIST
International University 2 IT116IU
Discussion of Fundamentals
If Selection Statement Experimental Procedure
Experimental Results
#include <stdio.h> int main(void) { //Variables decleration int num1, rem1; //Input processing printf("Input an integer : "); scanf("%d", &num1); //Processing rem1 = num1 % 2; International University 4 IT116IU
//Output Processing if (rem1 == 0) printf("%d is an even integer\n", num1); else printf("%d is an odd integer\n", num1); }
Figure 1. Result of the program in Problem 1 – Even/odd number checking. Conclusion
International University 5 IT116IU