write a program that calculate the volume of cylinder after
user enters radius and height and show the algorithm used
Answer / evangelist sammy gicheha
# include<iostream.h>
//using namespace std;
# define PI 3.142;
int main ()
{
int Rad,Height;
double area;
cout<<"Enter the radius;";
cin>>Rad;
cout<<"Enter the Height;";
cin>>Height;
area = 3.142 * Rad * Rad * Height;
cout<<"Radius="<<Rad<<endl;
cout<<"Height="<<Height<<endl;
cout<<"The Area of the circle is"<<area<<"\n";
return 0;
}
Is This Answer Correct ? | 5 Yes | 4 No |
Code for Two Classes for Doing Gzip in Memory?
write a function that reverse the elements of an array in place.The function must accept only one pointer value and return void.
develop a program to calculate and print body mass index for 200 employees
0 Answers Jomo Kenyatta University,
How reader and writer problem was implemented and come up with effective solution for reader and writer problem in case we have n readers and 1 writer.
Min-Max Write an algorithm that finds both the smallest and largest numbers in a list of n numbers and calculate its complexity T(n).
1 Answers Infosys, Qatar University,
Assume in University Every student in university as entity, prepare a class for student that store the roll no, name, dob of student, and make funtion of deletion, manipulation, addition of student record.
A suduco given & u hv 2 check if it is incomplete(blanks left),or correct or incorrect
Given a table of the form: Product Sold on A 1/1/1980 B 1/1/1980 C 1/1/1980 A 1/1/1980 B 1/1/1980 C 2/1/1980 A 2/1/1980 There are 30 products and 10,000 records of such type. Also the month period during which sales happened is given to u. Write the program to display the result as: Product Month No. of copies A January 12 A February 15 A March 27 B January 54 B February 15 B March 10 C January 37
write a program to convert temperature from fa height into celcius and vise versa,use modular programming
0 Answers Jomo Kenyatta University,
write a function – oriented program that calculates the sum of the squares from 1 to n. thus, if the input is 3, the output is 14
output for printf("printf");
Hello, I am trying to write a program in c++ which accepts month and year from the user and prints the calender. So please tell me the algorithm and what is the calender logic.