Question:
CASE 1:
Write a program to find Sum of digits of a number
CASE 2:
Write a program to find Sum of N natural numbers
CASE 3:
Write a program to find Sum of numbers in a given range
Solution:
CASE 1:

CASE 2:

CASE 3:
CASE 1:
Write a program to find Sum of digits of a number
CASE 2:
Write a program to find Sum of N natural numbers
CASE 3:
Write a program to find Sum of numbers in a given range
Solution:
CASE 1:

CASE 2:

CASE 3:

0 comments:
Post a Comment