Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using IF and ELSE IF statements, create two new variables as follows: Grade (numeric), with a value of 6 if the Age is 12, and

Using IF and ELSE IF statements, create two new variables as follows: 

Grade (numeric), with a value of 6 if the Age is 12, and a value of 8 if the Age is 13.

Then create another variable named quiz grade. quiz grades have numerical equivalents as follows: 

A = 95, B = 85, C = 75, D = 70, and F = 65.;

 

data school;

  input Age Quiz: $1. Midterm Final;

*/ your statement here/*

 

datelines;

12 A 92 95

12 B 88 88

13 C 78 75

13 A 92 93

12 F 55 62

13 B 88 82


Step by Step Solution

3.45 Rating (165 Votes )

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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

What was the accounting Big Bang in Japan?

Answered: 1 week ago