Actividad 3
-
Upload
jesus-salas-castro -
Category
Documents
-
view
42 -
download
1
Transcript of Actividad 3
![Page 1: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/1.jpg)
INSTITUTO TECNOLOGICO DE TIJUANA
I N S T I T U T O T E C N O L O G I C O D E T I J U A N A Página 1
Tipo de trabajo TituloEjercicio en clase 3
Fecha de inicio Fecha de entrega Calificación
5-Marzo-14 5-Marzo-14
Nombre de los participantes Matricula Grupo Asistencia CalificaciónSaul V. Pereyra Cebrero 13211225 A +
L. Cesar Sánchez Cuevas 13211260 A +Jesús Andrés Salas Castro 13211266 A +Agustín Hernández Dimaz 13211271 A +
![Page 2: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/2.jpg)
P-214 E4.CPP March 5, 2014 Page 1
#include<iostream.h>#include<conio.h>#include<iomanip.h>
int main (){int a;cout<<"Ingresa los numeros de creditos completados " << endl;cin>> a;if(a>=0 && a<=32){cout<<" El grado del estudiante es primer año" << endl;}else{if(a>32 && a<=63){cout<<" El grado del estudiante es segundo año " << endl;}else{if(a>63 && a<=95){cout<< " El grado del estudiante es tercer año " << endl;}else{if(a>=96){cout<< " El grado del estudiante es cuarto año " << endl;}}}}getch ();return 0;}
![Page 3: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/3.jpg)
![Page 4: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/4.jpg)
![Page 5: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/5.jpg)
![Page 6: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/6.jpg)
![Page 7: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/7.jpg)
P-214 E5.CPP March 5, 2014 Page 1
#include<iostream.h>#include<conio.h>int main () {int N;cout<<"\n\n\tIntroduzca la calificacion: " ;cin>>N;if(N>=90){cout<<"\t\t\t\t\tCalificacion final: A" ;}else{if(N<90 && N>=80){cout<<"\t\t\t\t\tCalificacion final: B" ;}else{if(N<80 && N>=70){cout<<"\t\t\t\t\tCalificacion final: C" ;}else{if(N<70 && N>=60){cout<<"\t\t\t\t\tCalificacion final: D" ;}else{if(N<60){cout<<"\t\t\t\t\tCalificacion final: F" ;}}}}}getch ();return 0;}
![Page 8: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/8.jpg)
![Page 9: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/9.jpg)
![Page 10: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/10.jpg)
![Page 11: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/11.jpg)
![Page 12: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/12.jpg)
![Page 13: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/13.jpg)
P-214 E6.CPP March 5, 2014 Page 1
#include <iostream.h>#include <conio.h>
//problema 6, pag. 214. 5/ marzo/ 2014
int main(){double tolerancia ;cout <<"\n Por favor introduzca la tolerancia: " ;cin >> tolerancia ;if(tolerancia <0.1){cout <<"\n Exploracion espacial" <<endl;}else {if (tolerancia >=0.1&&tolerancia <1)
{cout <<"\n Grado militar" ;}else {
if (tolerancia >=1&&tolerancia <10){cout <<"\n Grado comercial" ;}else {
if (tolerancia >=10){cout <<"\nGrado de jugete" ;}
}}}getch();return 0;}
![Page 14: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/14.jpg)
![Page 15: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/15.jpg)
![Page 16: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/16.jpg)
![Page 17: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/17.jpg)
P-215 E7.CPP March 5, 2014 Page 1
#include<iostream>#include<conio>
int main(){double tempe;double a;char b;cout<<"Introduce la temperatura:\n" ;cin>>a >> b;if(b=='F'){tempe=(5.0/9.0)*(a-32.0);cout<<"la temperatura en grados Farenheit es:\n " ;cout<< a << "Farenheit" <<endl;cout<<"La temperatura en grados Celcius equivalente es:\n " ;cout<<tempe<< "Celcius" <<endl;}else{if(b=='C'){tempe=(9.0/5.0)*a+32.0;cout<<"la temperatura en grados Celcius es:\n " ;cout<< a << "Celcius" <<endl;cout<<"La temperatura en grados Farenheit equivalente es:\n " ;cout<<tempe<< "Farenheit" <<endl;}}if(b!= 'F' && b!= 'C'){cout<<"Los datos introducidos son incorrectos" <<endl;}getch();return 0;}
![Page 18: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/18.jpg)
![Page 19: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/19.jpg)
![Page 20: Actividad 3](https://reader036.fdocuments.ec/reader036/viewer/2022071823/55ba2ca9bb61ebaf7b8b46a2/html5/thumbnails/20.jpg)