SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
INSTITUTO TECNOLOGICO DE TIJUANA

Tipo de trabajo
Ejercicio en clase
Fecha de inicio
5-Marzo-14

Fecha de entrega

Titulo
3
Calificación

5-Marzo-14

Nombre de los participantes
Saul V. Pereyra Cebrero
L. Cesar Sánchez Cuevas
Jesús Andrés Salas Castro
Agustín Hernández Dimaz

Matricula
13211225
13211260
13211266
13211271

Grupo
A
A
A
A

Asistencia
+
+
+
+

INSTITUTO TECNOLOGICO DE TIJUANA

Calificación

Página 1
P-214 E4.CPP

March 5, 2014

#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 1
P-214 E5.CPP

March 5, 2014

#include<iostream.h>
#include<conio.h>
int main () {
int N;
cout<<"nntIntroduzca la calificacion:
cin>>N;
if(N>=90)
{cout<<"tttttCalificacion final: A"
else
{if(N<90 && N>=80)
{cout<<"tttttCalificacion final: B"
else
{if(N<80 && N>=70)
{cout<<"tttttCalificacion final: C"
else
{if(N<70 && N>=60)
{cout<<"tttttCalificacion final: D"
else
{if(N<60)
{cout<<"tttttCalificacion final: F"
}}}}
getch ();
return 0;}

" ;

;}

;}

;}

;}

;}

Page 1
P-214 E6.CPP

March 5, 2014

#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 1
P-215 E7.CPP

March 5, 2014

#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 1
Ec 5marzo14
Ec 5marzo14
Ec 5marzo14

Más contenido relacionado

Último

International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)GDGSucre
 
pruebas unitarias unitarias en java con JUNIT
pruebas unitarias unitarias en java con JUNITpruebas unitarias unitarias en java con JUNIT
pruebas unitarias unitarias en java con JUNITMaricarmen Sánchez Ruiz
 
Desarrollo Web Moderno con Svelte 2024.pdf
Desarrollo Web Moderno con Svelte 2024.pdfDesarrollo Web Moderno con Svelte 2024.pdf
Desarrollo Web Moderno con Svelte 2024.pdfJulian Lamprea
 
Presentación guía sencilla en Microsoft Excel.pptx
Presentación guía sencilla en Microsoft Excel.pptxPresentación guía sencilla en Microsoft Excel.pptx
Presentación guía sencilla en Microsoft Excel.pptxLolaBunny11
 
Trabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnologíaTrabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnologíassuserf18419
 
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...silviayucra2
 
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft FabricGlobal Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft FabricKeyla Dolores Méndez
 
guía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Josephguía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan JosephBRAYANJOSEPHPEREZGOM
 
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveEPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveFagnerLisboa3
 
Proyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptxProyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptx241521559
 

Último (10)

International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)
 
pruebas unitarias unitarias en java con JUNIT
pruebas unitarias unitarias en java con JUNITpruebas unitarias unitarias en java con JUNIT
pruebas unitarias unitarias en java con JUNIT
 
Desarrollo Web Moderno con Svelte 2024.pdf
Desarrollo Web Moderno con Svelte 2024.pdfDesarrollo Web Moderno con Svelte 2024.pdf
Desarrollo Web Moderno con Svelte 2024.pdf
 
Presentación guía sencilla en Microsoft Excel.pptx
Presentación guía sencilla en Microsoft Excel.pptxPresentación guía sencilla en Microsoft Excel.pptx
Presentación guía sencilla en Microsoft Excel.pptx
 
Trabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnologíaTrabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnología
 
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
 
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft FabricGlobal Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
 
guía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Josephguía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Joseph
 
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveEPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial Uninove
 
Proyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptxProyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptx
 

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Ec 5marzo14

  • 1. INSTITUTO TECNOLOGICO DE TIJUANA Tipo de trabajo Ejercicio en clase Fecha de inicio 5-Marzo-14 Fecha de entrega Titulo 3 Calificación 5-Marzo-14 Nombre de los participantes Saul V. Pereyra Cebrero L. Cesar Sánchez Cuevas Jesús Andrés Salas Castro Agustín Hernández Dimaz Matricula 13211225 13211260 13211266 13211271 Grupo A A A A Asistencia + + + + INSTITUTO TECNOLOGICO DE TIJUANA Calificación Página 1
  • 2. P-214 E4.CPP March 5, 2014 #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 1
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. P-214 E5.CPP March 5, 2014 #include<iostream.h> #include<conio.h> int main () { int N; cout<<"nntIntroduzca la calificacion: cin>>N; if(N>=90) {cout<<"tttttCalificacion final: A" else {if(N<90 && N>=80) {cout<<"tttttCalificacion final: B" else {if(N<80 && N>=70) {cout<<"tttttCalificacion final: C" else {if(N<70 && N>=60) {cout<<"tttttCalificacion final: D" else {if(N<60) {cout<<"tttttCalificacion final: F" }}}} getch (); return 0;} " ; ;} ;} ;} ;} ;} Page 1
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13. P-214 E6.CPP March 5, 2014 #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 1
  • 14.
  • 15.
  • 16.
  • 17. P-215 E7.CPP March 5, 2014 #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 1