This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Marks Alphabetical grade Grade point 80100 A 4.00 7579 A3.75 7074 B+ 3.50 6569 B 3.00 6064 B2.75 5559 C+ 2.50 5054 C 2.00 4749 C1.75 4446 D+ 1.50 4043 D 1.00 39 or less F 2. Write a program that prompts the user to enter an integer and determines whether it is divisible by 5 and 7, whether it is divisible by 5 or 7 and whether it is divisible by 5 or 7 but not both. Here is a sample runs of this program: Enter an integer: 10 Is 10 divisible by 5 and 7? False Is 10 divisible by 5 or 7? True Is 10 divisible by 5 or 7, but not both? True...
View
Full
Document
This note was uploaded on 10/17/2008 for the course ECC 3102 taught by Professor Burney during the Spring '08 term at Punjab Engineering College.
 Spring '08
 Burney

Click to edit the document details