subject

Write the following program in c++ to print:
q1. the following pattern on the screen
@
@@
@@@

q2. to accept a name from the user and print it with a message.
q3. write a c++ program to accept percentage from the user and display it with a congratulations message. eg: congratulations you have scored xy% in the exam.
q4. write a program to accept a number from the user and identify whether the given number is odd or even.
q5. write a program to accept the radius of a circle from the user and display the area of circumference of the circle.
syntax:
area of circle= pi*radius*radius*
circumference= 2*pi*radius

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
3. (6 pts) internally in the computer, with few exceptions, all numerical computation is done using binary numbers. output, however, often uses ascii, which is formed by appending 011 to the left of a bcd code. thus, an algorithm that directly converts a binary integer to a bcd integer is very useful. here is one such algorithm 1) draw lines to the left of the binary number to bound the expected bcd decades. (each decade is a group of 4 bits.) move the binary number one bit to the left. add 0011 to each bcd decade containing a binary value> 0100 repeat steps 2-3 until the last bit in the binary number has been moved into the least significant decade position. (note that when the last bit has been shifted into bcd decade, step 3 is not repeated.) read the bcd result. 2) 3) 4) 5) a) execute the algorithm for the binary number 1101101 b) execute the algorithm for the binary number 01110101110 4. (4 pts) represent the decimal number 3568 in bcd; excess-3 code; ascil; and hex.
Answers: 1
question
Computers and Technology, 22.06.2019 04:40
Amain idea is supported, explained, or expanded on with a numbers b. a concluding statement c. details d. a topic sentence. im e paragraphs reset nex next
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Which is a possible benefit of having a good credit history? having a checking account low interest rate on a car loan high interest rate on a credit card offer bankruptcy
Answers: 1
question
Computers and Technology, 24.06.2019 18:00
Hacer un algoritmo que me permita ingresar el nombre de una parcela de terreno y muestre junto al mensaje “tipo de suelos: suelos fumíferos, ¡excelente!
Answers: 1
You know the right answer?
Write the following program in c++ to print:
q1. the following pattern on the screen
@<...
Questions
question
Mathematics, 03.09.2020 23:01
question
Mathematics, 03.09.2020 23:01
question
Mathematics, 03.09.2020 23:01
question
Physics, 03.09.2020 23:01