Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
5 trabajo semanal 4
//gcc 5.4.0 #include <stdio.h> int main(void) { long int N; long int CopiaN; short digito; long int Ninvertido; long int C; 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; } while( Ninvertido !=0) { C = Ninvertido % 10; printf(",%ld",C); Ninvertido = Ninvertido / 10; } return 0; }
run
|
edit
|
history
|
help
0
TopTriangle.c
Part II: Your Rental Company
Assignment 2
Lab 9 v1
Lab 6 v1
assignment5
sphere
address extraction
swap_talent.c
part 3