Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you do question 2? Lab Assignment 11 2022 Fall, CMPE 13 Fundamestais of Progranming f Quastion. 1 Variabtess. - Ceparment ar a sirng yatue

Can you do question 2? image text in transcribed
image text in transcribed
image text in transcribed
Lab Assignment 11 2022 Fall, CMPE 13 Fundamestais of Progranming f Quastion. 1 Variabtess. - Ceparment ar a sirng yatue indienting departimnnt of the student; - studentio is a string valuet indicating ID of the stodent. - quame as a string valuet indicatire name of the atuctent - yearieighing an iriteger value indicaling how many yoris the studenf has atucied the unreersfr - gha iil youbole vavet ingioating gpa of the student Methoder: to related varables. - pnintinformation prints information as given in the sample output below. (If the student has scholarship, you should write "with scholarship", otherwise you should write "without scholarship". Asso notice that years of study should be written as 1st, 2nd, 3rd or 4 th.) Ada, whose student ID is 12345, is studying 4th year at the "CENG" department with scholarship. Ada has a GPA of 3.7. Question 2 Write a class called StudentTestlava using main method. - Create two Student objects with departments CENG and ECON, respectively. - Set features of the first student as follows. Student: ID: 12345 . Name: Ada. Years of stody: 4 GPA: 3.7 Scholarship (Yes/No): Yes - Print intormation of the first student by using printinformation method. - Predict future salary of the student by using predictFuturesalay method if (s)he works in Turkey. - Read information of the second student by using readinformation methad: - Print information of the second student by using printinformation method - Prediat future salary of the student by using predictFufureSalary method if (s)he works abroad. Loter lafornation of atrane stadint: Seradent tal stari Wien ine whan it itafy. 2 2,30 Seinstarshte creifadi an jiviett it itur. lues. Wers a triatyis hivinethie inarin

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Iv Special Issue On Database Systems For Biomedical Applications Lncs 6990

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Christian Bohm ,Johann Eder ,Claudia Plant

2011th Edition

3642237398, 978-3642237393

More Books

Students also viewed these Databases questions

Question

=+4. What products or services does your key public commonly use?

Answered: 1 week ago

Question

Types of Interpersonal Relationships?

Answered: 1 week ago

Question

Self-Disclosure and Interpersonal Relationships?

Answered: 1 week ago