Home C MAXIMUM OF 2 in C Programming MAXIMUM OF 2 in C Programming / July 21, 2017 MAXIMUM OF 2 in C Programming Code: #include<stdio.h> int main(){ int a,b; scanf("%d",&a); scanf("%d",&b); if (a>b) printf("%d is the maximum number",a); else printf("%d is the maximum number",b); return 0; } You Might Also Like Write a program that calculate the sum of the ff. quantities. In each case, N indicates a quantity specified by user. A. 1+½+⅓+¼...+¹/N=_____ B. 1²+2²+3²+... N²=______October 06, 2017Single number as a command line argumentOctober 02, 2017How to swap two numbers by using function September 29, 2017 Post a Comment
No comments