REC01_Problems

REC01_Problems - 1 14:440:127 Introduction to Computers for...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 14:440:127 Introduction to Computers for Engineers Recitation 01 Problems Rutgers University, Spring 2011 Instructor - Brenda V. Cortez 1. Determine which of the following identifiers are valid or invalid. If any are invalid write why. 3 times Cost My Age false grade passed #one var1 frequency 2. Create a variable of type int and another of type float , and store 23.01 in each. Subtract one from the each of the values of the variables. Add two to the values of the variables and print them to the screen. Explain what happens. 3. Create a variable of type int , assign an integer value to it, and print it to the screen. 4. Create a program that asks the user to enter a decimal number and print it to the screen. 5. Create a program that asks the user to enter a single character and then print a message to the screen saying You entered the character: , where is the character the user entered....
View Full Document

Page1 / 3

REC01_Problems - 1 14:440:127 Introduction to Computers for...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online