#include stdio.h //Program 12int main(){int d, a = 1, b = 2;d = a++ + ++b;printf("%d %d %d", d, a, b);}
#include stdio.h //Program 2int main(){int d, a = 1, b = 2;d = a++ +++b;printf("%d %d %d", d, a, b);}
#include stdio.hWhat is the output of the c programint main() {int a = 3, b = 4;int result = (a + b) * (a + b) * (a + b);printf("(%d + %d)^3 = %d\n", a, b, result);return 0;}
class average {What is the output of the following programpublic static void main(String args[]){double num[] = {5.5, 10.1, 11, 12.8, 56.9, 2.5};double result;result = 0;for (int i = 0; i 6; ++i)result = result + num[i];System.out.print(result/6);}}
#include iostreamGive input: 3using namespace std;int main(){int n;cin n;bool isPrime = true;for(int i=2;in;i++){if(i%n == 0){isPrime = false; break;}}if(isPrime){cout"Prime"endl;}else{cout"Not Prime"endl;}return 0;}
#mod1def change(a):b=[x*2 for x in a]print(b)#mod2def change(a):b=[x*x for x in a]print(b)from mod1 import changefrom mod2 import change#mains=[1,2,3]change(s)
#include stdio.hint main() {int a, b, c;printf("%d", (scanf("%d %d %d", &a, &b, &c)));return 0;}