c) What will be outputs of the following Basic program e) 10 A =10 4) Ang 20 B=15 a) 30 C = A+B b) 40 PRINT "C" 50 PRINTC 60 END
Answers
Answered by
2
Explanation:
Write a program in C to display the n terms of odd natural number and their sum . Go to the editor
Test Data
Input number of terms : 10
Expected Output :
The odd numbers are :1 3 5 7 9 11 13 15 17 19
The Sum of odd Natural Number upto 10 terms : 100
Similar questions