0 évaluation0% ont trouvé ce document utile (0 vote)
23 vues1 page
The document provides instructions for writing 3 simple Pascal programs. The first program calculates simple interest on a loan based on inputted loan amount and repayment time. The second program finds the square of two inputted numbers and their product. The third program calculates a person's age based on their inputted name and year of birth.
The document provides instructions for writing 3 simple Pascal programs. The first program calculates simple interest on a loan based on inputted loan amount and repayment time. The second program finds the square of two inputted numbers and their product. The third program calculates a person's age based on their inputted name and year of birth.
The document provides instructions for writing 3 simple Pascal programs. The first program calculates simple interest on a loan based on inputted loan amount and repayment time. The second program finds the square of two inputted numbers and their product. The third program calculates a person's age based on their inputted name and year of birth.
1. Write a simple program that prompts the user to input the
loan amount and the time to be taken to repay the loan. It then uses this information to calculate then output the simple interest that would be accrued on the loan. 2. Write a simple program that prompts the user to input two numbers. The program should then find and output the square of each number and the product of the two numbers 3.
Write a simple program that prompts the user to enter their
name and year of birth. It should then calculate the persons age using this current year. It should output (name) your age is (age)
Learn Python Programming for Beginners: Best Step-by-Step Guide for Coding with Python, Great for Kids and Adults. Includes Practical Exercises on Data Analysis, Machine Learning and More.
Microsoft 365 Guide to Success: 10 Books in 1 | Kick-start Your Career Learning the Key Information to Master Your Microsoft Office Files to Optimize Your Tasks & Surprise Your Colleagues | Access, Excel, OneDrive, Outlook, PowerPoint, Word, Teams, etc.
CODING FOR ABSOLUTE BEGINNERS: How to Keep Your Data Safe from Hackers by Mastering the Basic Functions of Python, Java, and C++ (2022 Guide for Newbies)
Modern Tkinter for Busy Python Developers: Quickly Learn to Create Great Looking User Interfaces for Windows, Mac and Linux Using Python's Standard GUI Toolkit
Microsoft PowerPoint Guide for Success: Learn in a Guided Way to Create, Edit & Format Your Presentations Documents to Visual Explain Your Projects & Surprise Your Bosses And Colleagues | Big Four Consulting Firms Method
The Advanced Roblox Coding Book: An Unofficial Guide, Updated Edition: Learn How to Script Games, Code Objects and Settings, and Create Your Own World!