Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

Programming Fundamentals

Assignment1

Note: You have to prepare down pseudo code, program and draw flow chart for each of the subsequent problems

Q1: prepare a program which creates the following table. Use single cout statement and setw().

1990        123
1991       2345
1992      34567
1993     123456

Q2: prepare a program which reads the radius of circle and display its region and diameter.

Q3: prepare a program which reads the length and height of rectangle and show area and perimeter of the rectangle.

Q4: prepare a program that takes two integers and arithmetic operator from user and apply all given arithmetic operators on given numbers.

Q5: prepare a program which takes one side of square then compute and show the area of square.

Q6: prepare a program which reads the temperature from user in Celsius scale and show in Fahrenheit and Kelvin scale.

Q7: prepare a program which takes weight in kilograms and show in milligrams and grams.

Q8: prepare down a program reads number from user and display either it is multiple of 2 or 5 or 7 or not multiple of any given category.

Q9: prepare a program which takes two time from user in hr:min:seconds format and display the differentiation between given two times.

Q10: prepare a program which takes two dates from user in dd/mm/yy and prints differentiation between given two dates.

Q11: prepare a program which acquires three fractions a/b, e/f and c/d from user. Perform addition of given fractions as follow:

   a    c        e        ans
  ---- + -----  + -----      =    --------
   b        d         f        ans

Q12: prepare a program which acquires marks of subject from user. Given marks should be greater than 0 and less than 100. Your program has to perform grading on given marks (A, B, C, D, F). You are free to decide marking criteria.

Q13: prepare a program which takes four numbers from user and display smallest and largest amongst them.

Q14: prepare a program asking user to select p for pine, o for oak, or M for mahogany. Show the price of the table pine - 100, oak- 225 and mahogany- 310 if user selects any other than listed make price 0.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91549

Have any Question? 


Related Questions in Computer Engineering

1 consider proposed implementations of a systolic array you

1. Consider proposed implementations of a systolic array (you can find these in on the Internet or in technical publications). Then attempt to program the loop provided in Exercise 6.11 using this MISD model. Discuss any ...

1 what is security and information security what is the

1. What is security and information security? What is the difference? 2. It has been stated that security is a continuous process; what are the states in this process? 3. What are the differences between symmetric and as ...

This exercise asks you to consider the consequences of not

This exercise asks you to consider the consequences of not applying the principle of attenuation of privilege to a computer system. a. What are the consequences of not applying the principle at all? In particular, what i ...

Repeat exercise p87 using multiple classes modify the

Repeat Exercise P8.7, using multiple classes. Modify the GradeBook class so that it collects objects of type Student. Each such object should have a list of scores. Exercise P8.7 Modify the grade book application of How ...

Analyze the manner in which a cirt plan fits into the

Analyze the manner in which a CIRT plan fits into the overall risk management approach of an organization and how it supports other risk management plans.

In the water-jug puzzle we are given a 3-liter jug named

In the water-jug puzzle, we are given a 3-liter jug, named Three and a 4-liter jug named Four. Initially, Three and Four are empty. Either jug can be filled with water from a tap, T, and we can discard water from either ...

1 in what ways is network design an iterative process why

1. In what ways is network design an iterative process? Why does the need for network documentation arise in many phases of a network design project? 2. When responding to an RFP, why is it important to pay attention to ...

An organization is granted the block 130560016 the

An organization is granted the block 130.56.0.0/16. The administrator wants to create 1024 subnets. a. Find the number of addresses in each subnet. b. Find the subnet prefix. c. Find the first and the last address in the ...

A different approach to fast text searching is to step

A different approach to fast text searching is to step through the text in skips equal to the word length. As soon as we get a mismatch in trying to match the word sought we skip to the start of the next word. To do this ...

An arithmetic expression can be stored in a binary search

An arithmetic expression can be stored in a binary search tree. Modify the BinarySearchTree class so that an expression such as 2 + 3 ∗ 4/5 can be properly evaluated using the correct operator precedence rules.

  • 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