We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution |
+ Link For Past Papers, Solved MCQs, Short Notes & More |
Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion
How to Add New Discussion in Study Group ? Step By Step Guide Click Here.
Read more at https://www.vu-lms.tk/2018/05/cs508-assignment-no-2-solution-and.ht...
Tags:
+ How to Follow the New Added Discussions at Your Mail Address?
+ How to Join Subject Study Groups & Get Helping Material? + How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators? + VU Students Reserves The Right to Delete Your Profile, If?.
+ 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)then share it plz
dear iffah plz share the code....time is too short ......
help us we have no time
here's the complete code guys... chill
n remember me in ur prayers
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure jdoodle is
type Boolean is (Fail, Pass);
type student is record
StudentID:String(1..11);
Marks:Natural;
Status: Boolean;
end record;
Student1: student;
Student2: student;
type FinalScore is range 50..100;
Marks1: FinalScore:=50;
begin
student1.studentID:= "BC000000000";
student1.marks:=95;
student1.status:= Pass;
student2.studentid:= "BC000000000";
student2.marks:=60;
student2.status:= Pass;
Put("First Student");
New_Line;
Put("Student ID is ");
Put(student1.studentid);
New_Line;
Put("Student Marks are");
Put(student1.marks);
New_Line;
Put("Student is "& Boolean'image(student1.status));
New_Line;
Put("Second Student");
New_Line;
Put("Student ID is ");
Put(student2.studentid);
New_Line;
Put("Student Marks are");
Put(student2.marks);
New_Line;
Put("Student is "& Boolean'image(student2.status));
New_Line;
for M in 50..100 loop
if Marks1>=50 and Marks1<=65 then
Put_Line("Marks range is 50-65, PASS, Needs Improvement");
end if;
if Marks1>=65 and Marks1<=75 then
Put_Line("Marks range is 65-75 , PASS, Average");
end if;
if Marks1>=75 and Marks1<=90 then
Put_Line("Marks range is 75-85 , PASS, Very Good");
end if;
Marks1:=Marks1+10;
exit when marks1=100;
end loop;
end jdoodle;
Thanku So Much
© 2019 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
VU Students reserves the right to delete profile, which does not show any Activity at site nor has not activity more than 01 month.
We are user-generated contents site. All product, videos, pictures & others contents on vustudents.ning.com don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com or Contact us at contact Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post