#include stdio.hvoid main(){int a = 4, b = 5, c = 6;printf("%d",a+=(a += 3,5,a));}
public class MyFirst {public static void main(String[] args) {MyFirst obj = new MyFirst(n);}static int a = 10;static int n;int b = 5;int c;public MyFirst(int m) {System.out.println(a + ", " + b + ", " + c + ", " + n + ", " + m);}// Instance Block{b = 30;n = 20;}// Static Blockstatic{a = 60;}}
#include stdio.hvoid solve() {int a[] = {1, 2, 3, 4, 5};int sum = 0;for(int i = 0; i 5; i++) {if(i % 2 == 0) {sum += *(a + i);}else {sum -= *(a + i);}}printf("%d", sum);}int main() {solve();return 0;}
#include iostreamusing namespace std;int main() {int marks;cout"enter the marks"endl;cinmarks;if(marks=90){cout"grade a"endl;}else if(marks=80){cout"grade b";}else if(marks=60){cout"grade c";}else if(marks=40){cout"grade d";}else{cout"fail"endl;}}
from random import choiceoptions = ['Read WB Book','Charting','Practice on SoloLearn','Python Video']dothis = choice(options)print(f"You should Do This: {dothis}")