Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

problem 1) prepare a program to convert a small letter into capital letter and vice versa.

problem 2) prepare a program to input the marks of a student in five subjects and find out the gradeaccording the following conditions:

Marks      Grade

>90         S

76-90      A

61-75      B

51-60      C

0-50        D

<40        Fail

problem 3) prepare a program to input the sales made by a salesman and find out the commissionaccording to the following conditions:

Sales              Commission

1-10000             4%

10001-20000     5%

20001-30000     6%

>30000             7%

problem 4) prepare a program to convert the temperature according to the following conditions:

Choice        Conversion

1                Fahrenheit to Celsius

2                Celsius to Fahrenheit

problem 5) WAP to find out the largest of three numbers.

problem 6) prepare a program to input three numbers and print them in descending order.

problem 7) prepare a program to input a number (1 to 7) and print the weekday name according to thegiven number.

problem 8) prepare a program to input a digit and print the digit in words.

problem 9) prepare a program to input two numbers and a choice and find out the result according to thefollowing conditions:

Choice             Result
1                     Add
2                     Subtract
3                     Multiply
4                    Divide
5                    Remainder

problem 10) prepare a program to input two numbers and an operator and find out the result according tothe following conditions:

Operator                   Result
‘+’                            Add
‘-‘                             Subtract
‘*’                            Multiply
‘/’                            Divide
‘%’                          Remainder

problem 11) prepare a program to compute the area of a circle, a rectangle or a triangle depending upon user’s choice.

Choice            Area
1                     Circle
2                   Rectangle
3                 Triangle

problem 12) prepare a program to input the marks in theory and practical and print the result.

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M94881

Have any Question? 


Related Questions in C/C++

1 write a c program that includes a function called lobster

(1) Write a C program that includes a function called lobster() that accepts three arguments: a character and two integers. The character argument is the character to be printed by lobster(). The second argument is the n ...

Discussionobject-oriented design please respond to the

Discussion "Object-Oriented Design" Please respond to the following: • Suppose you were required to write a C++ program that captures and stores data about automobiles that a small dealership in your city sells. Consider ...

Projectdecision statementsdirections read carefully and

Project: Decision Statements Directions (Read CAREFULLY and follow COMPLETELY): - Create the following programs in C++ that perform the purpose described and show the sample output (with user input where applicable). - I ...

Write a program that reads numbers from cin and then sums

Write a program that reads numbers from cin and then sums them, stopping when 0 has been entered. Construct three versions of this program, using the while ,do - while , and for loops. Add the following to your program: ...

Writing a c code its a beginner level code design a class

Writing a C++ code, its a beginner level code. Design a class house that defines a house on a street. A house has a house number and an (x,y) location, where x and y are numbers between -10 and 10. the key member is plot ...

Modules in c are called functions c programs are typically

Modules in C are called functions. C programs are typically written by combining user created functions as well as "pre-packaged" functions found in the C Standard Library. For instance, printf() is a function that is fo ...

Assignmentobjectivespractice reading characters from a

Assignment Objectives Practice reading characters from a file Practice using command line input Practice using command-line redirection of files Practice implementing a double transposition ciphering algorithm Summary In ...

Write a c program that prompts the user to enter a line of

Write a C program that prompts the user to enter a line of text (up to 50 characters). It should then convert the text entered to uppercase letters and then to lowercase letters, and then to Sentence case. Your program s ...

Write a program that reads numbers from cin and then sums

Write a program that reads numbers from cin and then sums them, stopping when 0 has been entered. Construct three versions of this program, using the while, do - while , and for loops. Add the following to your program: ...

Object-oriented programming assignmentintroduction -nbspa

Object-Oriented Programming Assignment Introduction -  "A logical matrix or (0, 1) matrix is a matrix with entries from the Boolean domain B = {0, 1}. Such a matrix can be used to represent a binary relation between a pa ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro