sum of digits between a range
#include <stdio.h> #include <stdlib.h> int main(){ int a, b, c; printf("Please enter your numbers: \n"); scanf("%d%d%d", &a, &b, &c); if(a!=b && b!=c){ if(((a<b) &&(b<c)) || ((c<b) && (b<a))){ printf("' %d…
#include <stdio.h> #include <stdlib.h> int main(){ int a, b, c; printf("Please enter your numbers: \n"); scanf("%d%d%d", &a, &b, &c); if(a!=b && b!=c){ if(((a<b) &&(b<c)) || ((c<b) && (b<a))){ printf("' %d…
#include <stdio.h> #include <stdlib.h> int main(){ int a, b, c; printf("Please enter your numbers: \n"); scanf("%d%d%d", &a, &b, &c); if(a!=b && b!=c){ if(((a<b) &&(b<c)) || ((c<b) && (b<a))){ printf("' %d…
#include <stdio.h> #include <stdlib.h> int main(){ int bd, bm, by, cd, cm, cy, ad, am, ay; printf("Please give me your date of birth \n"); printf("day \t"); scanf("%d", &bd); printf("month \t");…
#include <stdio.h> #include <stdlib.h> int main(){ int a; printf("Please enter a year: \n"); scanf("%d,", &a); if(a%4==0 && a%100!=0){ printf("You entered %d and this is a leap year. \n", a); }…
So, you think that you’re now skilled enough to create and sell WordPress themes? That’s great! You can choose between selling on your own or using a marketplace. In this post, we’re going to go through a roadmap to get ready and publish WordPress themes on ThemeForest, one of the biggest marketplaces available. (more…)