886 questions
It's a program that receives a median expression, changes it to a posterior expression, and then calculates itIf the number divided by 0 is an exception, we put an exception codeThe code error is Exce...
int i, min = 0; for (i = 0; i < 10; i++) { cin >> number; if (i == 0) // Condition A min = number; else if (min > number) // Condition B min = number; } cout << min;Hello, the...
using namespace std;int main(){ int x; int max = 0; cout << Enter 10 numbers << endl; for (int i = 0; i < 10; i++) { cin >> x; if (x > max) { max = x; } } cout << Th...
I'm thinking about implementing it with Python in all html files within a particular folderI want to remove all strings between <script~~~/script>ㅠ
#include <iostream>using namespace std;int main(){ const int N=3; int i,j; for(i=0; i < N; i++){ for(j=i; j < N; j++){ cout << i << << j << endl; } }}When you go ...
#include <iostream> using namespace std; int main(){ int num; cout << Enter you number : ; cin >> num; for(int i = 1; i <= num; i++){ int k = i % 10; if (k == 3 || k == 6 || k =...
#include <iostream> using namespace std;int getsum(int);int main() { int num, sum; cin >> num; sum = getsum(num); cout << sum << sum << endl;}int getsum(int value) { int...
#include <iostream>using namespace std;int main() { int num1, num2; // variable to store two digits from the user inti; // variables for repetition int oddSum = 0; // Variable to store odd sum e...
#include <iostream>using namespace std; int main(){int begin, end, i;int condition = 0;cout << Enter two integers between range 1 to 100 <<endl; cin >> begin >> end; whil...
#include <iostream>using namespace std;int sum(int a, int b){ return a + b;}int main() { int a , b; int sum = sum(5,6); cout << sum;}There's an error. Can't the variable name in the main f...
« | - 80 - | » |
© 2024 OneMinuteCode. All rights reserved.