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 as mentioned in the link-layer fragmentation and

1. As mentioned in the "Link-Layer Fragmentation and Interleaving" section, PPP, Frame Relay, ATM, and other WAN technologies support fragmenting packets (frames) at Layer 2. As you may have learned in basic networking c ...

Questions1 explain the principle of Questions: 1. Explain the principle of

Questions: 1. Explain the principle of convention-over-configuration. 2. Why does a template's file name have the .html.erb extension? 3. What must be placed in an application's controller class? 4. What kinds of operati ...

Equation 1374 tells us on average how many vertices are a

Equation (13.74) tells us on average how many vertices are a distance d away from a given vertex. a) Assuming that this expression works for all values of d (which is only a rough approximation to the truth), at what val ...

The task this week is to complete the following 2

The task this week is to complete the following 2 structures using a linked list: Stack Queue Assume the occurrence of a linked list node is represented by the object "Node" and its "Data" and "NextRef" attributes. Part ...

A friend has recently started a business that has a large

A friend has recently started a business that has a large amount of intellectual property that he wants to ensure is kept secure and confidential. He plans to hire 75-100 employees within the next 18 months and is prepar ...

1 assume we want to connect two isolated hosts together to

1. Assume we want to connect two isolated hosts together to let each host communicate with the other. Do we need a link-layer switch between the two? Explain. 2. If there is a single path between the source host and the ...

With the sun directly overhead an airplane takes off at a

With the sun directly overhead, an airplane takes off at a speed S of 226 mph at an angle θ of 16° above the horizontal. How fast is the airplane's shadow moving along the runway?

In a company all files which are sent on the network are

In a company, all files which are sent on the network are automatically encrypted by using AES-128 in CBC mode. A fixed key is used, and the IV is changed once per day. The network encryption is file-based, so that the I ...

Suppose a new class of users the system security officers

Suppose a new class of users, the system security officers (SSOs), were to be added to the access control matrix discussed in Section 26.2.2. Augment the matrix with the change right. This right allows the user to alter ...

Suppose one wishes to confirm that none of the files in the

Suppose one wishes to confirm that none of the files in the directory /usr/spool/lpd are worldreadable. a. What would the fourth field of the tripwire database contain? b. What would the second field of the RIACS databas ...

  • 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

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

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen