Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
orange blue bell Einstein's piece chastitise then
//gcc 5.4.0 #include <stdio.h> int main(void) { printf("Hello, world!\n"); return 0; }https://play.google.com/store/apps/details?id=vrpatel0018.cprograms //Neon number /*A neon number is a number where the sum of digits of square of the number is equal to the number itself For example : 9 is a neon number. its square is 9*9=81 ans sum of the digit(8+1) is 9*/ #include<stdio.h> int main(){ int n,sq,sum=0; printf("Enter the number:"); scanf("%d",&n); sq = n*n; while(sq>0){ sum = sum + sq%10; sq = sq/10; } if(sum==n){ printf("%d is neon number.",n); }else{ printf("%d is not a neon number.",n); } return 0 ; }
run
|
edit
|
history
|
help
0
PER problem 2
HW4e5
Project 4 v0.1
time conversion1
FileCat
lab2
16-bit signed or unsigned int -> ASCII
3.1.2 Matrix add/sub file concept
PREGUNTA 2 EXAMEN
Project v0.12