#include using namespace std; int main() { int n; cout << "enter an integer: "; cin >> n; if ( n % 2 == 0) cout << n << " is even."; else cout << n << " is odd."; return 0; }
By Mary Harvey at Mar 29 2021
0
django.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attribute in the included module, or pass a 2-tuple containing the list of patterns and app_name instead.
#include int main (void) { int a, b; printf("dwse mou dio akeraious arithmous: \n"); scanf("%d %d", &a, &b); printf("oi arithmoi poy edwses einai: %d kai %d", a, b); return 0; }
By Enrique Wilderman at Nov 30 2020
0
#include using namespace std; int main() { int a = 3; float b = 4.5; double c = 5.25; double sum; sum = a + b + c; cout << "The sum of a, b, and c is", sum << endl; return 0; }