Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <conio.h>
- #include <stdio.h>
- int main (void){
- float a, b;
- printf ("Informe o primeiro numero: ");
- scanf ("%f", &a);
- printf ("Informe o segundo numero: ");
- scanf ("%f", &b);
- if (a > b){
- printf ("O maior numero eh: %f", a);
- }
- else {
- printf ("O maior numero eh: %f", b);
- }
- getch( );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement