Sorry! Posting Assignment is allowed only for commercial accounts.
#include stdio.hvoid solve() { char ch[10] = "abcdefghij"; int ans = 0; for(int i = 0; i 10; i++) { ans += (ch[i] - 'a'); } printf("%d", ans);}int main() { solve(); return 0;}
i = 0while i 5: print(i) i += 1 if i == 3: breakelse: print(0)
x = 1 while True: if x % 5 = = 0: break print(x) x + = 1