Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Jul 2017 |
Last Sign in: | 271 Weeks Ago, 4 Days Ago |
Questions Answered: | 1850 |
Tutorials Posted: | 1850 |
Graduate in Biology and Nutrition, MBA Finance
Florida State University
Aug-2000 - Jul-2007
Ass. Relationship Manager
Penn-Florida
Mar-2009 - Feb-2016
Â
Â
Sep 26, 2016 at 11:10am// declear vriables
int result //stores result of number
int number = //user enter number
int menuselect // option
Â
Â
while number >0
//prompt user to enter a positive integer
Print "Enter a positive integer:
Read number
If (number>)
//Provide menuÂ
Print "Enter 1 to calculate squre and 2 to calculate cube"
Read menuselect
if(menuselect ==1)
result = number*number
Print result
Else
Print "Invalid"
Endif
Endif
endwhile
=
Â
Lab document given in class. Write the code of Visual Studio Run the program Get print screen of the output and upload to assignment box.
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I