Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Enter the maximum number: 21


Even numbers are :2 4 6 8 10 12 14 16 18 20

Odd numbers are :1 3 5 7 9 11 13 15 17 19 21



Display the cube of the numbers up to a given intiger:


Input the number of the term:


Number is : 1 and the cube of 1 is : 1

Number is : 2 and the cube of 2 is : 8

Number is : 3 and the cube of 3 is : 27


Process returned 0 (0x0) execution time : 5.878 s

Press any key to continue.



This is a straightforward program that will "draw" a rectangle using any character selected by the user. The user will also provide the width and height of the final rectangle. Use a nested for loop structure to create the output.

 

Input:

 

This program will draw a rectangle using your character of choice.
Enter any character:      [user types: *]

Enter the width of your rectangle:     [user types: 20]

Enter the height of your rectangle:     [user types: 5]

 

Output:

 

********************
********************
********************
********************

********************

Write a program in C++ to input your name, city and age during program execution and then


print it on the screen. Your output should look like as given below: (where John Doe is name,






city= London and age=40)

Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters "Done", "done", or "d" for the line of text. 

Ex: If the input is:

Hello there
Hey
done

then the output is:

ereht olleH
yeH

Write a program that calculates and displays the income tax of a salary entered from the keyboard. Your program must calculate taxes according to the following rates:




Up to 200Br 0%




200Br .600Br 10%




600Br 1200Br 15%




1200Br 2000Br 20%




2000Br-3500Br 25%




3500Br & above 30%

assign and print the roll number,phone number,and address of two students having name sam and john respectively by creating two objects of the class student



Pseudocode and flow chart for the problem of Printing odd numbers less than a given number it should also calculate their sum and count

Copy the contents of one text file to another file, after removing all whitespaces.


Create a structure Student containing fields for Roll No., Name, Class, Year and Total Marks. Create 10 students and store them in a file. 

Write a program to retrieve the student information from file created in previous question and print it in following format: Roll No. Name Marks .


LATEST TUTORIALS
APPROVED BY CLIENTS