Problems Week 2
Problems Week 2
Problems Week 2
PROBLEM 1 : Debugging
#include <iostream>
Using namespace std ;
int main() {
int x = 5
return 0;
#include <iostream>
return 0;
#include <iostream>
int y = x + 2;
int z = y * 2;
return 0;
PROBLEM 4 : Solve
Write a program that initializes a variable a with a value of 10. Then, subtract 3 from a, multiply the result
by 4, and print the final result.