Ada95 Program To Accept A Date-Programming For Aeronautical Engineering And Sciences-Assignment, Exercises of Computer Engineering and Programming

This assignment is for Computer Programming course. It was assigned by Prof. Anurag Negi at KIIT University. It includes: Program, Ada95, Integer, Float, Boolean, Character, Unified, Computer, Type, Data

Typology: Exercises

2011/2012

Uploaded on 07/20/2012

savitri_85
savitri_85 🇮🇳

4

(5)

70 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Problem C8. (Unified Computers and programming)
1. Write an Ada95 program to accept a date in the Date/Month/Year format.
Accept each of the inputs separately. Display the date in all three formats as
shown below. Turn in the hard copy of your algorithm and code listing, and an
electronic copy of your code.
i. 19/9/2003 (Date, Month, Year)
ii. 19 September 2003
iii. 19.IX.2003
Hint: Use Enumerations to represent the month.
2. What are the First and Last values of the following data types
a. Integer
b. Float
c. Character
d. Boolean
docsity.com

Partial preview of the text

Download Ada95 Program To Accept A Date-Programming For Aeronautical Engineering And Sciences-Assignment and more Exercises Computer Engineering and Programming in PDF only on Docsity!

Problem C8. (Unified Computers and programming)

  1. Write an Ada95 program to accept a date in the Date/Month/Year format. Accept each of the inputs separately. Display the date in all three formats as shown below. Turn in the hard copy of your algorithm and code listing, and an electronic copy of your code.

i. 19/9/2003 (Date, Month, Year) ii. 19 September 2003 iii. 19.IX.

Hint: Use Enumerations to represent the month.

  1. What are the First and Last values of the following data types a. Integer b. Float c. Character d. Boolean

docsity.com