Page 1 of 1

c programe 🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴 note:you can not use array

Posted: Sun Jul 03, 2022 11:23 am
by answerhappygod
c programe
C Programe Note You Can Not Use Array 1
C Programe Note You Can Not Use Array 1 (138.54 KiB) Viewed 15 times
🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴note:you can not use array
Write a main function that performs the following: ● Using a for while loop, prompt the user to enter the weight of K items. (10 points) . In the main function, you should declare only one local integer variable m. The variable "m" will be used as a counter for a while statement. • Prints all weights that are greater than the value of your AUM ID. If your ID is 42364, the main function should print all weights that are greater than 42364. (10 points) • Prints on the screen your name, your student ID and your section number. For example, if your name is "aaa bbb", your ID is 42364 and your section is F2, the main function should print "Name: aaa_bbb CS-159-Section: F2 ID: 42364". (5 points)