### Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

# INFT1004 Introduction to Programming:Sample of output

\$20 Bonus + 25% OFF

## Question:

### C++ programming

You just need answer in C++ programming with result Screen shot.Write a complete C++ program. b. Submission :Complete program (printed).Screenshot (2 sample of input and output for each question)

### Question 1

My Daddy Coffee Outlet purchases and roasts high-quality whole bean coffees and sells them along with fresh, rich-brewed, Italian style espresso beverages through its company-operated retail stores.

As an appreciation for their customers, My Daddy Coffee Outlet decided to give discounts to their buyers. The buyers will get discount price off from their total price of purchased. The discount is based on the following:

### Discount

30.00

60.00

>= RM100

5% of total price

10% of total price

15% of total price

20% of total price

The program will accept the total purchase from the user and prints out the total discount and price after discount. Use manipulator for all appropriate items. The program allow the user to repeat the program as they wish.

1 2.2

3 6.6

. .

. .

. .

. .

97 213.4

99 217.8

### QUESTION 2

Conversion from kilograms to pound for odd numbers (1-99). Your output should list all the odd numbers in kilogram and convert into pound. Use for loop

Sample of output:

### Question 3

Write a program that reads any 5 numbers as in the given sample of output below:

Sample of output:

Enter any 5 integer value.

1  2  -1  3 0

The number of positive value  is 3

The numbers are:  1 2 3

The number of negative value is 1

The numbers are:  -1

The 0 number is 1

The total is 5.0

The average is 1.25

### Question 4

UNi-Library is conducting a survey to rate the quality of their services in order to improve their services. In the survey, 30 students were asked to rate the quality of the service in the library on a scale of 1 to 5 (1 indicating very bad and 5 indicating excellent). You have to store the 30 responses of the students in an array named responses[ ]. Then, you have to count the frequency of each scale and store it in an array named frequency[ ]. Use the appropriate looping structure to enter the responses and to count the frequency. You are also required to display the percentage of the frequency of each scale. Display the scale, frequency and its percentage as shown below.

The program also allows the user to repeat this process as often as the user wishes.

### INFT1004 Introduction to Programming

Solved by qualified expert

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

If you are searching ‘who can write my essay at a cheap price’, then MyAssignmenthelp.com is the right place for you. The reason is, we are the best essay writing service in Australia that provides quality academic assistance at an affordable price. With a pool of best-qualified, skilled and experienced essay writers from australia, we competent of providing highest quality plagiarism free custom essay help in more than 100 subjects.

## More INFT1004 INFT1004 Introduction to Programming: Questions & Answers

### COIS 4550 Artificial Intelligence

A problem with using expert systems to control robots is the Qualification Problem – trying to predict all of the things in the environment that can prevent the robot from successfully completing the task and developing actions the robot can execute in order to complete the task. A frien …

### DSAA204 Data Structure and Algorithms

a) Evaluate the efficiency and effectiveness of data structures and algorithms;
b) Demonstrate reasoning about efficiency of algorithms;
c) Assess and apply suitable recursive data structures and algorithms to IT systems and applications.
Case Study: …

### IMAT5101 Object Oriented Programming

Objectives
The objective of this assessment is for you to demonstrate your ability to design and implement an OO system consisting of a set of Java classes and a client program. In particular:
1. To design and implement classes with suitable fields, constructors, accessor methods, and modifier m …

### BIT202 JavaScrip

The focus of this assessment is on producing client-side digital systems, with a choice on writing pure JavaScript utilising the Browser-Object Model (BOM) or utilising the script element within a html file.
Assessment
Create an algorithm, digital solution and documented testing for the Ja …

### Content Removal Request

If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the
content removal request.

##### Paul Noor

PhD in Chemistry with Specialization in Oil and Petroleum Chemistry

767 – Completed Orders

Hire Me

## Still in Two Minds? The Proof is in Numbers!

33845 Genuine Reviews With a Rating of 4.9/5.

#### Marketing

5 days

Good job done. The assignment is well written, can get higher grade if can provide more in-depth analysis on the topic

User ID: 8***66 Hong Kong

#### Marketing

4 days

Overall well written essay, excellent and complete writing in one day, and the Expert prompt reply on comments

User ID: 8***66 Hong Kong

#### HRM

6 days

Thanks for your effort. I appreciate it. I have grated 60, which is enough to pass.

User ID: 8***12 Dublin, Ireland

#### Finance

7 days

The excel formulas were perfect. But the explanation regarding the recommendation was subpar.

User ID: 5***90 Dublin, United States

#### Physics

2 days

Wonderful as always! Very professional and knowledgeable! I love this experts work and always use them when it comes to Physics.

User ID: 6***06 Atlanta, United States

#### Healthcare

4 days

Really appreciate this work which help me to get 8.9 out of 10. i would like to express thanks to expert.

User ID: 5***91 Atlanta, Malaysia

#### Healthcare

7 days

Good work . it was help me lots. i got 6.5 out of 10 which is good score for me.

User ID: 5***91 Atlanta, Malaysia

#### Assignment

3 days

amazing results, received a High grade thank you very much, appreciate the help. Can’t wait to have more assignments so you guys can help me.

User ID: 5***22 Atlanta, Switzerland

#### Assignment

3 days

Hello, Thanks for the quick delivery. And the job well done. looking forward to do more.

#### Management

4 days

Thanks for quick delivery. I will go through it and see what you have done. Yet to be graded

#### Statistics

1 day

Great work- Job well done!! Work was completed before schedule.I Would highly recommend this service to others.

User ID: 8***59 Atlanta, United States

#### It Write Up

11 days

thank you a lot for helping me with the assignment and doing this so on time . you did exactly what i wanted you to do. i am very satisfied .

User ID: 8***43 Atlanta, Netherlands

#### Programing

10 days

thanks i had a good grade although it took so many back and forth i hope it wont happen again

User ID: 6***09 Atlanta, Philippines

#### Healthcare

9 hours

Thanks for helping me understand my assignment and also helping me with the write up.

User ID: 8***87 Atlanta, United States

#### Accounting

6 days

Excellent Service, Professional and Complete Writing. Will sure contact for further future assignments.

User ID: 8***38 Atlanta, Australia

#### Finance

3 days

Thankfully, I received one of the best marks awarded for the kind of work given. I am grateful to my assignment help team for their assistance

User ID: 2***85 Atlanta, Ghana

1 hour

#### Management

7 days

Thank you Expert, my professor regraded my work and gave me a good grade this time. but he also mention that going forward i should be more detailed i …

User ID: 2***97 Upper Marlboro, United States

#### Medical

4 days

Really thanks to your efforts. excellent work. It’s well written and well organized and well explained as following instructions. Thanks a lot.

User ID: 6***55 Upper Marlboro, Canada

#### Marketing

4 days

Well I must say I was delighted by the timelines and great work. The assignment was top notch with excellent results. I got a A+!!!!!

User ID: 8***30 Upper Marlboro, United States

#### Marketing

5 days

Good job done. The assignment is well written, can get higher grade if can provide more in-depth analysis on the topic

User ID: 8***66 Hong Kong

#### Marketing

4 days

Overall well written essay, excellent and complete writing in one day, and the Expert prompt reply on comments

User ID: 8***66 Hong Kong

#### HRM

6 days

Thanks for your effort. I appreciate it. I have grated 60, which is enough to pass.

User ID: 8***12 Dublin, Ireland

#### Finance

7 days

The excel formulas were perfect. But the explanation regarding the recommendation was subpar.

User ID: 5***90 Dublin, United States

#### Physics

2 days

Wonderful as always! Very professional and knowledgeable! I love this experts work and always use them when it comes to Physics.

User ID: 6***06 Atlanta, United States

#### Healthcare

4 days

Really appreciate this work which help me to get 8.9 out of 10. i would like to express thanks to expert.

User ID: 5***91 Atlanta, Malaysia

#### Healthcare

7 days

Good work . it was help me lots. i got 6.5 out of 10 which is good score for me.

User ID: 5***91 Atlanta, Malaysia

#### Assignment

3 days

amazing results, received a High grade thank you very much, appreciate the help. Can’t wait to have more assignments so you guys can help me.

User ID: 5***22 Atlanta, Switzerland

#### Assignment

3 days

Hello, Thanks for the quick delivery. And the job well done. looking forward to do more.

#### Management

4 days

Thanks for quick delivery. I will go through it and see what you have done. Yet to be graded

#### Statistics

1 day

Great work- Job well done!! Work was completed before schedule.I Would highly recommend this service to others.

User ID: 8***59 Atlanta, United States

#### It Write Up

11 days

thank you a lot for helping me with the assignment and doing this so on time . you did exactly what i wanted you to do. i am very satisfied .

User ID: 8***43 Atlanta, Netherlands

#### Programing

10 days

thanks i had a good grade although it took so many back and forth i hope it wont happen again

User ID: 6***09 Atlanta, Philippines

#### Healthcare

9 hours

Thanks for helping me understand my assignment and also helping me with the write up.

User ID: 8***87 Atlanta, United States

#### Accounting

6 days

Excellent Service, Professional and Complete Writing. Will sure contact for further future assignments.

User ID: 8***38 Atlanta, Australia

#### Finance

3 days

Thankfully, I received one of the best marks awarded for the kind of work given. I am grateful to my assignment help team for their assistance

User ID: 2***85 Atlanta, Ghana

1 hour

#### Management

7 days

Thank you Expert, my professor regraded my work and gave me a good grade this time. but he also mention that going forward i should be more detailed i …

User ID: 2***97 Upper Marlboro, United States

#### Medical

4 days

Really thanks to your efforts. excellent work. It’s well written and well organized and well explained as following instructions. Thanks a lot.

User ID: 6***55 Upper Marlboro, Canada

#### Marketing

4 days

Well I must say I was delighted by the timelines and great work. The assignment was top notch with excellent results. I got a A+!!!!!

User ID: 8***30 Upper Marlboro, United States

##### Have any Query?

The post INFT1004 Introduction to Programming:Sample of output appeared first on Study Room.