<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8632931606805182530</id><updated>2011-04-21T19:01:29.099-07:00</updated><title type='text'>programación José Vicente Serna</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://programacion-serna.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8632931606805182530/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://programacion-serna.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>José Vicente</name><uri>http://www.blogger.com/profile/13952507460515389571</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8632931606805182530.post-6574559895875367511</id><published>2008-04-14T11:39:00.000-07:00</published><updated>2008-04-14T11:44:10.955-07:00</updated><title type='text'>Calculadora euros-pesetas y pesetas-euros</title><content type='html'>&lt;i&gt;&lt;br /&gt;#include &amp;lt;stdio.h&gt;&lt;br /&gt;#include &amp;lt;conio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;char opcion;&lt;br /&gt;float pesetas, euros;&lt;br /&gt;int decimal3;&lt;br /&gt;printf("De pesetas a euros pulse 0 \n");&lt;br /&gt;printf("De euros a pesetas pulse 1 \n");&lt;br /&gt;opcion=getch();&lt;br /&gt;printf("\n");&lt;br /&gt;if (opcion=='0')&lt;br /&gt;{&lt;br /&gt;/* Voy a pasar de pesetas a euros  */&lt;br /&gt;printf ("Introduzca la cantidad en pesetas");&lt;br /&gt;scanf("%f",&amp;pesetas);&lt;br /&gt;euros=pesetas/166.386;&lt;br /&gt;decimal3=((int)(euros*1000)) % 10;&lt;br /&gt;if ((decimal3&gt;=5)) euros=((int)((euros+0.01)*100))/100;&lt;br /&gt;euros= ((int) (euros*100))/100;&lt;br /&gt;printf( "%f pesetas son %f euros \n",pesetas, euros);&lt;br /&gt;}&lt;br /&gt;if (opcion=='1')&lt;br /&gt;{&lt;br /&gt;/* Voy a pasar de euros a pesetas  */&lt;br /&gt;printf ("Introduzca la cantidad en euros");&lt;br /&gt;scanf("%f",&amp;euros);&lt;br /&gt;pesetas=euros*166.386;&lt;br /&gt;printf( "%f euros a %f pesetas \n",euros,pesetas);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;getch();&lt;br /&gt;}&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8632931606805182530-6574559895875367511?l=programacion-serna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programacion-serna.blogspot.com/feeds/6574559895875367511/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8632931606805182530&amp;postID=6574559895875367511' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8632931606805182530/posts/default/6574559895875367511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8632931606805182530/posts/default/6574559895875367511'/><link rel='alternate' type='text/html' href='http://programacion-serna.blogspot.com/2008/04/calculadora-euros-pesetas-y-pesetas.html' title='Calculadora euros-pesetas y pesetas-euros'/><author><name>José Vicente</name><uri>http://www.blogger.com/profile/13952507460515389571</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8632931606805182530.post-3479010282184432536</id><published>2008-04-14T11:09:00.000-07:00</published><updated>2008-04-14T11:45:54.217-07:00</updated><title type='text'>Potencia</title><content type='html'>Realmente las prácticas se entregan en &lt;a href="http://campus.umh.es"&gt;Campus CIO&lt;/a&gt;, sin embargo quiero darle un poquito de utilidad a mi blog (Marco dixit).&lt;br /&gt;&lt;i&gt;&lt;br /&gt;#include &amp;lt;stdio.h&gt;&lt;br /&gt;#include &amp;lt;conio.h&gt;&lt;br /&gt;#include &amp;lt;math.h&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;char opcion;&lt;br /&gt;int exp;&lt;br /&gt;float base, resultado;&lt;br /&gt;printf("Introduzca la base \n");&lt;br /&gt;scanf("%f",&amp;base);&lt;br /&gt;printf("Introduzca el exponente (del 0 al 10) \n");&lt;br /&gt;scanf("%d",&amp;exp);&lt;br /&gt;if ((exp&gt;10) || (exp&lt;1)) &lt;br /&gt;{printf("El exponente ha de ser un número entre 1 y 10"); &lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;resultado= pow (base, exp);&lt;br /&gt;printf ("El resultado es: %f ",resultado);&lt;br /&gt;getch();&lt;br /&gt;}}&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8632931606805182530-3479010282184432536?l=programacion-serna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programacion-serna.blogspot.com/feeds/3479010282184432536/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8632931606805182530&amp;postID=3479010282184432536' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8632931606805182530/posts/default/3479010282184432536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8632931606805182530/posts/default/3479010282184432536'/><link rel='alternate' type='text/html' href='http://programacion-serna.blogspot.com/2008/04/potencia.html' title='Potencia'/><author><name>José Vicente</name><uri>http://www.blogger.com/profile/13952507460515389571</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8632931606805182530.post-2887271830367497977</id><published>2008-04-14T10:43:00.000-07:00</published><updated>2008-04-14T10:50:43.278-07:00</updated><title type='text'>De Celsius a Fahrenheit y viceversa</title><content type='html'>Esta tarde Marco me ha echado un cable con el primer ejercicio de la &lt;a href="http://programacionteleco.umh.es/practicas/prac201Enunciado.htm"&gt;práctica 2&lt;/a&gt; y aquí tenemos el resultado.Espero que os guste.&lt;br /&gt;&lt;i&gt;&lt;br /&gt;#include &amp;lt;stdio.h&gt;&lt;br /&gt;#include &amp;lt;conio.h&gt;&lt;br /&gt;main()&lt;br /&gt;{char opcion;&lt;br /&gt;int i;&lt;br /&gt;printf("De celsius a Fahrenheit pulse 0");&lt;br /&gt;printf("De Fahrenheit A celsius pulse 1");&lt;br /&gt;opcion=getch();&lt;br /&gt;printf("\n");&lt;br /&gt;if (opcion=='0')&lt;br /&gt;{/* Voy a pasar de celsius a fahrenheit */&lt;br /&gt;for (i=0; i &lt;= 300;i= i+20) printf( "%d Celsius son %f Fahrenheit \n",i,i*9.0/5.0 + 32); } if (opcion=='1') {/* Voy a pasar de fahrenheit a celsius */ for (i=0; i &lt;= 300;i= i+20) printf( "%d Fahrenheit a %f Celsius \n",i,5.0/9.0 * (i - 32)); } getch(); }&lt;/i&gt;&lt;br /&gt; La semana que viene haremos la &lt;a href="http://programacionteleco.umh.es/practicas/pra301.html"&gt;Práctica 3&lt;/a&gt; y ahora voy a seguir con el resto de ejercicios de la Práctica 2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8632931606805182530-2887271830367497977?l=programacion-serna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programacion-serna.blogspot.com/feeds/2887271830367497977/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8632931606805182530&amp;postID=2887271830367497977' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8632931606805182530/posts/default/2887271830367497977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8632931606805182530/posts/default/2887271830367497977'/><link rel='alternate' type='text/html' href='http://programacion-serna.blogspot.com/2008/04/de-celsius-fahrenheit-y-viceversa.html' title='De Celsius a Fahrenheit y viceversa'/><author><name>José Vicente</name><uri>http://www.blogger.com/profile/13952507460515389571</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8632931606805182530.post-3239958373832397628</id><published>2008-04-07T10:25:00.000-07:00</published><updated>2008-04-07T10:26:57.828-07:00</updated><title type='text'>welcome to the HELL</title><content type='html'>Primera entrada en el blog&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8632931606805182530-3239958373832397628?l=programacion-serna.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programacion-serna.blogspot.com/feeds/3239958373832397628/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8632931606805182530&amp;postID=3239958373832397628' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8632931606805182530/posts/default/3239958373832397628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8632931606805182530/posts/default/3239958373832397628'/><link rel='alternate' type='text/html' href='http://programacion-serna.blogspot.com/2008/04/welcome-to-hell.html' title='welcome to the HELL'/><author><name>José Vicente</name><uri>http://www.blogger.com/profile/13952507460515389571</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
