3 Write A C Program Using If Statement. Get A Number From The User. If The Number Is Between 0 To 100 Calculate Sum Of All Odd Numbers From 1 To 100, Print The Sum. Otherwise Calculate Sum Of All Even Numbers From 100 To 200, Print The Sum. [7 Marks] PART

匿名用户 最后更新于 2021-11-29 17:10 计算机类Computing

3 Write a C program using if statement. Get a number from the user. If the number is between 0 to 100 calculate sum of all odd numbers from 1 to 100, print the sum. otherwise calculate sum of all even numbers from 100 to 200, print the sum. [7 Marks] PART C (Answer)

已邀请: