Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

Using While, Do While and For Loop in C++

Rating
-
Sold
-
Pages
5
Uploaded on
26-01-2024
Written in
2023/2024

It can help you gain knowledge in coding in C++.

Institution
Course

Content preview

TECHNOLOGICAL INSTITUTE OF THE PHILIPPINES
QUEZON CITY
COLLEGE OF COMPUTER STUDIES

ITE001- Computer Programming 1

NAME:Paolo Nicolai R. Soliman
PROGRAM/SECTION: BSIT/IT11S9
ASSESSMENT TASK: Iterative/Looping Control Structure using while, do while and for loop

The following question support the attainment of Course Intended Learning Outcomes (CILO): Design
computing-based solution using control structures, functions, array, and other statements

Create the following programs:

1] Banking Application
Let's have a banking application. Are you familiar with how the balance of a savings account is
completed as it earned interest? Write a program that outputs the interest earned and balance of a
savings account each year.
The program prompts for the following values:

initial balance 10%
interest rate on decimal
year deposited
year to be withdrawn

Example:
Input balance: 110000
Input Interest: 10
Enter Initial year: 2020
Enter Final Year: 2024

Year Interest Balance

2020 P 11,000.00 P 121,000.00
2021 12,100.00 133,100.00
2022 13,310.00 146,051.00
2023 14,641.00 161,051.00
2024 16,105.10 177,156.01

2] Output
1
12
123
1234

, ***SOURCE CODE:


While Loop:

Written for

Institution
Course

Document information

Uploaded on
January 26, 2024
Number of pages
5
Written in
2023/2024
Type
OTHER
Person
Unknown

Subjects

$16.69
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
paolosoliman

Get to know the seller

Seller avatar
paolosoliman Technological Institute of the Philippines
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
4
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions