Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
8 trajo semal 4
//gcc 5.4.0 #include <stdio.h> int main(void) { long int N; long int CopiaN; short digito; long int Ninvertido; printf("El valor de N es..."); scanf(" %ld", &N); CopiaN = N; Ninvertido = 0; while( CopiaN !=0) { digito = CopiaN % 10; CopiaN = CopiaN /10; Ninvertido = Ninvertido * 10 + digito; } if( Ninvertido == N) { printf("El numero es capicua\n"); } else { printf("EL numero no es capicua\n"); } return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
FUNCION strstr()
PREGUNTA 2, GUÍA 4, MÓDULO 3
Stub Program for Problem 2 HW 2
Threads_posix
Fhk
sort_using_pointers.c
Star 1,3
Spring 2017 Project 2 v.02
Incometax problem v1.1
B_141125_MenorMayor
Please log in to post a comment.