Sesiones de PyR
Write a program to return the area of Geometricshapes square and rectangle. Area of square is side*side, rectangle is length*breadth. The controlling class should display the following menu and respond to the user’s selection
Mean
1. Calculate area of square
2. Calculate area of rectangle
3. Quit
Enter your choice (1-3):
0 Votos
3 RespuestasThe code shown below in the description runs here when I try it, but when I wrote it on code blocks it gave me 5 errors..
1. expected imitializer before '<' token. (line 19).
2. reference to 'pair' is ambiguous. (line 26).
3. expected primary-expression before double. (line 26).
4. expected ';' before 'double'. (line 26).
5. 'obj' was not declared in this scope. (line 27).
Any help please?
0 Votos
5 Respuestashow to write a program that reads in a character <char> from the keyboard and then displays one of the following messages
1. if<char> is in lowercase letter the message
"the uppercase letter corresponding to char is..."
2. if<char> is in uppercase letter the message
"the lowercase letter corresponding to char is..."
3. of char is not a letter, the message char is not a letter.
0 Votos
3 RespuestasEn tendencia hoy
Pig Latin
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Uuu
2 Votes
I’m new someone can help me
0 Votes
Recursion doubt
2 Votes