Q&A Discussions
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 Votes
3 AnswersThe 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 Votes
5 Answershow 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 Votes
3 AnswersHot today
Help please?
3 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Ruby programming?
3 Votes