Unit 10 AS 3: InClass Methods 1) This program has two functions: main and get_name. the name variable is assigned a value that is entered by the user. This statement is inside the qot name function. Print your name and age that you just inputted or defined If you finish do 42 .) 2) Witie TWO methods pass number of birds and print number of birdo in Calforia (methodi) and bleds in Texas (Method 1) Print the total of birds. You can use void method. Unit10 AS 2B: Inclass Loop3 Write a for ioop that letrothe user enter a number. The number ahould be multiplied by 10 , and the tesul assigned to a varlable named product. The loop should ierate as long as product is less than 100 for loop that displays the following set of numbers. 0,10,20,30,40,50…,200 Unit 10.As2: Inclass Locp2 1) Withe a whille loop that lets the user enter a number. The number should be multipliod by 10 , and the result assigned to a variable named product. The loop should iterate as long as product is less than 100. AS inclass Loop 1 2) Write a while loop that asks the user to enter tiro numbers The numbers should be addod and the aum diaplayed. The loop ahould ask the usae a he or she wishes to perform the operation again. If so, the loop should repeat, othenvise it should terminate.

Q&A Education