QBASIC
write a program to take input of two numbers and their print the largest number
please answer this question
correct answer I will mark branlist answer and like
Thank you
Answers
Answered by
0
Write program to find greatest between two numbers in C
h> void main() { int n1,n2,sum; clrscr(); printf("\nEnter 1st number : "); scanf("%d",&n1); printf("\nEnter 2nd number : "); scanf("%d",&n2); if(n1 > n2) printf("\n1st number is greatest. "); else printf("\n2nd number is greatest.
Answered by
0
Explanation:
Write program to find greatest between two numbers in C
h> void main() { int n1,n2,sum; clrscr(); printf("\nEnter 1st number : "); scanf("%d",&n1); printf("\nEnter 2nd number : "); scanf("%d",&n2); if(n1 > n2) printf("\n1st number is greatest. "); else printf("\n2nd number is greatest.
Similar questions
Social Sciences,
3 hours ago
English,
3 hours ago
Physics,
6 hours ago
Math,
6 hours ago
Math,
8 months ago