7 Million Study Materials
From students who've taken these classes before
24/7 Access to Tutors
Personal attention for all your questions
Learn
93% of our members earn better grades
IUPUI | ENGR 197
PROGRAMMING CONCEPTS
Professors
• Amin Hagyousef

#### 23 sample documents related to ENGR 197

• IUPUI ENGR 197
Class Work 4a In function main do the following: 1. Declare a variable called var_1 (data type float) 2. Declare an integer variable called num_1 3. Declare a variable called num_2 (data type double) 4. Declare a character variable called var_2 5. Prompt

• IUPUI ENGR 197
/* classwork_10.c Nathan Mauch ENGR 197 Section #31961 Description: This program accepts 2 numbers and then the user will enter a character that corresponds to the calculation to perform. This program is from \"if-else problem_3\" You will need to convert t

• IUPUI ENGR 197
/* extracredit2p1.c Nathan Mauch ENGR 19700 Section 15271 Description: user enters 5 numbers, find arithmetic mean, geo mean, harm mean, user series of functions to work out program */ #include <stdio.h> #include <math.h> /function prototypes int getInteg

• IUPUI ENGR 197
Class Work Name: _ Using the rules for conversion code specifications, determine outputs printed by the statements below. Use a b to represent additional leading or trailing blanks. Write Error if an incorrect conversion specifier is used. double x = 5267

• IUPUI ENGR 197
/* homework1p1.c Nathan Mauch ENGR 19700 Section 22288 January 22, 2011 Description: This program has the user enter a value in miles and tells outputs it in km, m, cm, yd and ft.*/ #include <stdio.h> int main() cfw_ /variable declaration double mi, km, m

• IUPUI ENGR 197
/* homework1p1.c Nathan Mauch ENGR 19700 Section 22288 January 22, 2011 Description: This program has the user enter a value in miles and tells outputs it in km, m, cm, yd and ft.*/ #include <stdio.h> int main() cfw_ /variable declaration double mi, km, m

• IUPUI ENGR 197
/* homework1p1.c Nathan Mauch ENGR 19700 Section 22288 January 22, 2011 Description: This program has the user enter a value in miles and tells outputs it in km, m, cm, yd and ft.*/ #include <stdio.h> int main() cfw_ /variable declaration double mi, km, m

• IUPUI ENGR 197
/* homework1p2.c Nathan Mauch ENGR 19700 January 22, 2011 Description: Program has the user enter 2 resistor values and outputs the series and parallel value*/ #include <stdio.h> int main() cfw_ float R1, R2, ReqS, ReqP; printf(\"Enter the value of the 2 r

• IUPUI ENGR 197
/* homework1p3.c Nathan Mauch ENGR 19700 January 22, 2011 Description: Program has the user enter a radius and angle and outputs the area of the sector*/ #include <stdio.h> #define PI 3.1416 int main() cfw_ double radius, angle, area, radian; printf(\"Ente

• IUPUI ENGR 197
/* classwork2p1.c Nathan Mauch ENGR 19700 Section 15271 Description: This program has the user enter a value in km and displays the equivalent meters, cm, miles, ft, and inches. */ #include <stdio.h> int main() cfw_ double double double double double doub

• IUPUI ENGR 197
/* homework2p1.c Nathan Mauch Section 22288 January 30, 2011 Homework 2 Description: This program has the user enter 7 integers and displays the average as a float. */ #include <stdio.h> int main() cfw_ /variable declaration int n1, n2, n3, n4, n5, n6, n7

• IUPUI ENGR 197
/* homework3p1.c Nathan Mauch ENGR 19700 Section 15271 September 12th, 2011 Description: User enters 7 ints, find avg of first 3 and all 7 */ #include <stdio.h> int main() cfw_ /variable declaration int n1, n2, n3, n4, n5, n6, n7; float avg1, avg2; /user

• IUPUI ENGR 197
/* homework3p1.c Nathan Mauch ENGR 19600 Section 22288 2/22/11 Description: */ #include <stdio.h> int main() cfw_ /variable declaration float x, n; /user enters a value for x printf(\"Enter a value for x: \"); scanf(\"0\", /checks user value and assigns

• IUPUI ENGR 197
/* homework3p2.c Nathan Mauch ENGR 19600 Section 22288 Description: User enters 3 numbers, then finds the range */ #include <stdio.h> int main() cfw_ /variable declaration int n1, n2, n3, max, min, range; /user enters 3 integers printf(\"Enter 3 integers:

• IUPUI ENGR 197
/* homework4p1.c Nathan Mauch ENGR 19700 Section 15271 Description: User enters t value and pending on value will give according f value */ #include <stdio.h> int main() cfw_ /variable declaration double t,f; /user input printf(\"Enter a value for t: \"); s

• IUPUI ENGR 197
/* homework5p1.c Nathan Mauch ENGR 19700 Section 15271 Description: shows degree F, C, and Ra in user decided intervals */ #include <stdio.h> int main() cfw_ /variable declaration double f, c, r, n1; /user input printf(\"Enter the value you would like the

• IUPUI ENGR 197
/* homework6p1.c Nathan Mauch ENGR 19700 Section 15271 Description: User enters starting temp and increments, displays celsius and rankin */ #include <stdio.h> int main() cfw_ /variable declaration float incr, start, celsius, rankin; /user enters start po

• IUPUI ENGR 197
/* Nathan Mauch ENGR 19700 Section 22288 3/31/11 Homework7p1.c Description: Use prototypes to convert km to mi and ft */ #include <stdio.h> #include <stdlib.h> /prototype declaration float kmToMi(float km); float kmToFt(float km); int main() cfw_ /variabl

• IUPUI ENGR 197
/* homework8p1.c Nathan Mauch ENGR 19700 Section 15271 Description: User inputs length in km and uses functions to find equivalent in feet and miles. */ #include <stdio.h> /function prototypes float kmToFt(float); float kmToMi(float); int main() cfw_ /var

• IUPUI ENGR 197
/* homework9p1.c Nathan Mauch ENGR 19700 Section 15271 Description: Program ask user to enter number of rolls of die and displays how many times each result happened */ #include <stdio.h> #include <time.h> int main() cfw_ /variable declaration int d1, d2,

• IUPUI ENGR 197
/* homework11p1.c Nathan Mauch ENGR 19700 Section 15271 Desc: Program has rainfall average per year for each station, rainfall average is 2d array. Program, displays rainfall for each year at each station, then finds average per year and displays that res

• IUPUI ENGR 197
/* homework12p1.c Nathan Mauch ENGR 19700 Section 15271 Description: Program has user enter 3 integers and calls function reorder, reorders the 3 integers and returns the numbers through pointers, Program then displays numbers in order and its address */

• IUPUI ENGR 197
The fossil in question was generally regarded to be the 220 million-year-old remains of Tyrannosaurus Rex. Several years ago, however, this hypothesis was overturned by the discovery of yet another species cfw_Morehouse, 1993 #21 which is now the undisput

7,000,000 study materials • 24/7 tutors • earn better grades
Ask a tutor a question for ENGR 197

*