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

Using a for loop create a program that will prompts the user for two numbers and then print out a list of even number in between the two given numbers(inclusive), starting from the small number to the big number

Sample Run1

Enter two numbers: 1 10

Output1: 2 4 6 8 10

Sample Run2

Enter two numbers: 9 5

Output2: 6 8


Using a switch statement, write a program that prompts the user for a numeric code and two operands. The numeric codes of 1, 2, 3, and 4 represents addition, subtraction, multiplication, and division respectively. Before division, your program should check whether the second operand is not zero. If it is, it should display “Division by zero not allowed” to the screen.

Sample Run1                        

Code: 1                            

Operand1: 5                      

Operand2: 4                        


To qualify for an International Conference for Women in Computing (ICWC) next year in Toronto, Canada a student have got a distinction (a mark greater than 75) in PRG510S, be a female, and below the age of 25. Write a simple program that receives a mark, gender, and age from the keyboard and displays a corresponding message basing on the input.

Sample Run 1:

Mark: 70

Gender: female

Age: 21

Output1: Unfortunately you do not qualify!

Sample Run 2

Mark: 83

Gender: female

Age: 21

Output2: Congratulations! You might be in Toronto, Canada next year for ICWC!

Explain to Top Management the various program categories that will enable you to operate a database in Oracle. Discuss at least three of these program categories.


a company is planning a big sale at which they will give their customers a special promotional discount. each customer that purchases a product from the company has a unique customer id numbered from 0 to n-1.

1.andy, the marketing head of the company, has selected bill amounts of the n customers for the promotional scheme. the discount will be given to the customers whose bill amounts are perfect squares. the customers may use this discount on a future purchase. write an algorithm to help andy find the number of customers that will be given discounts?
An e-commerce company plans to give their customers a special discount for the Christmas They are planning to offer a flat discount. The discount value is calculated as the sum of all the prime digits in the total bill amount.

A

Write an algorithm to find the discount value for the given total bill amount.

there are 3 member functions.1st one to set value for person discount,distance.second one to display personcount,distance and fair .3rd function to caliculate the fair with assumption that fair for 1 person is 300rupees if distance>=1200km and 200 rs for<500kmand for in between distance it is 350 rupees write c++pgm


Write a program to create a single link list of 5 elements.

Define a class called CUSTOMER with the following members name_of_the_customer type_of_loan number_of_months principal_amount EMI There are 3 member functions. First one to set the value for name_of_the_customer, number_of_months, principal_amount and type_of_loan. Second one to print all the data members. Third function to calculate EMI and it is calculated as follows. If type_of_loan is “bike” then monthly interest rate is 9.2%. If type_of_loan is “Home” then monthly interest rate is 7.35%.


Write a C program that reads numbers from an integer array and graph the information in the form of a bar chart. The sample output is given below.

Element Value Histogram

0 19 *******************

1 3 ***

2 15 ***************

3 7 *******

4 11 ***********

5 9 *********

6 13 *************

7 5 *****

8 17 *****************

9 1 *


LATEST TUTORIALS
APPROVED BY CLIENTS