Assignment No. 02
Total Marks: 20
Due Date: Dec. 06, 2016
Lectures Covered: 13 to 17.
Understand and get hands on experience of:
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
Note: All types of plagiarism are strictly prohibited.
For any query about the assignment, contact at firstname.lastname@example.org
1. You are required to write a program in Ada programming language which will get the name of Fruit from user and display its price on screen.
You are required to consider following fruits in your program.
Apple, Grapes, Banana, Pineapple, Pomegranate, Mango, Cherry, Melon, Strawberry, Orange and Peach.
Hints: You should use array to save the names of fruits. Use switch case to match user input (fruit name) with fruits saved in array. Use the loop to repeat this process again and again as shown in output screen.
Assignment Submission Instructions:
For detail regarding programming tool for Ada language see announcement. Write your program in given tool and submit .adb file from your LMS account.
As you know, the procedure name in Ada code and Ada program’s file name should be same. So use Main for procedure and file name. As showing in below screen shot.
Please note that due date of assignment will not extend, so do not wait for last date and submit your solution as quickly as possible.
Due Date: Tuesday, December 06, 2016.
+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)
End name ghalat hi ap ka........or start name b
kesa theak karu usa
start name or end name (main) rkhna hi ....or save main.adb sy krna hi
program ka or output ka screen shot dena ha kia ?
ya bata da program kesa submit karwana ku ka ma to online compile kia ha
out put main jo space a rahy hain en ka kia karna hai
matlib jaha price a rahe hai es say pahly space ayti kafi wo kasy khtm ho ge
Dear just code wali file submit karni hy ya phir screen short b send karna hy??