Jack and Jill are trying to determine who has the greater number of marbles. Write a C program that helps them figure out who ha | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Jack and Jill are trying to determine who has the greater number of marbles. Write a C program that helps them figure out who ha

Jack and Jill are trying to determine who has the greater number of marbles. Write a C program that helps them figure out who has more marbles by comparing the quantities they each possess. Input Format First line contains positive integer number. Second line contains positive integer number. Output Format A single line output contains as "Maximum of 2 and 3 is 3"

24th Nov 2023, 7:45 AM
Nikhil
1 Answer
+ 5
Hint: You need to receive the input data, test them with if else statement and print there the output. More if needed after your attempt.
24th Nov 2023, 8:12 AM
JaScript
JaScript - avatar