Questions: 9 913

Answers by our Experts: 9 913

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

Write a c++ program to generate multiplication table of 24 (note: 24,48,72.....240)

Write a program to obtain a number (N) from the user and display whether the is a one digit number , 2 digit number, 3 digit number Or more than 3 digit number

 Write a complete C program consisting of the main function and a void function. The program uses the void function to display the following menu: 1. Square root of sum 2. Logarithm to base e of sum of squares Please enter your choice The program then prompts for and reads two values x and y each of type double. It then uses a switch statement to do the following, based on the selected choice: • Choice 1: The program displays the value of sqrt(x + y) if x + y is greater than or equal to zero; otherwise it displays an appropriate error message. • Choice 2: The program displays the value of log(x * x + y * y) if x2 + y2 is greater than zero; otherwise it displays an appropriate error message.


Suppose you have to enter five customers in a bank. The bank counter comprises of three service desk so three rows and three columns were made. Write a C++ program to provide service for customers according to row and column. First customer will stand in the first row first column, then the next customer in the first row second column and so on. Create a function which takes total number of customers as input as an argument and display the seating plan using another function.



Imagine you are developing a software system that requires users to enter their own passwords.

Your software requires that user’s password meet the following criteria:

 The password should be at least eight characters long.

 The password should contain at least one uppercase and at least one lowercase letter.

 The password should have at least one special character.

Write a program that asks for a password and then verifies that it meets the stated criteria. If it

doesn’t, the program should display a message telling the user why.


Write a program that iterates through the odd numbers less than 30, and outputs the square of each number. 


 Create a program that loops 30 times, but only outputs numbers that are not divisible by 3 or 5. Decide on the most appropriate form of a loop, and use an if statement inside it


 Create a program that uses a do-while loop to count the number of characters (not including whitespace) entered by the user. The count should end when it first encounters a # character in the input.


 Write a program that reads a character and then prints “It is a vowel”, if it is a vowel, “It is an operator”, if it is one of the five operators, and “It is something else”, if it is anything else.


 Write a program to calculate mobile phone charges according to the following packages. 1. One Hour Package (Package A): If the customer talks for one hour (60 minutes) then Rs. 10 will be charged for one hour (60 minutes) and Rs. 2 will be charged for every extra minute after 60 minutes. 2. 20 Minutes Package (Package B): Rs. 1 will be charged for the first 20 minutes and for every extra minute Rs. 2.5 will be charged. 3. No Package (Package N): Rs. 2 per minute will be charged.


LATEST TUTORIALS
APPROVED BY CLIENTS