#include <iostream>
using namespace std;
int main() {
string text1 = "Smoke";
string text2 = "On The";
string text3 = "Water";
cout << text1 + " " + text2 + text3;
return 0;
}
using namespace std;
int main() {
string text1 = "Smoke";
string text2 = "On The";
string text3 = "Water";
cout << text1 + " " + text2 + text3;
return 0;
}
#include <iostream>
using namespace std;
int main() {
int x[3] = {8, 16, 24};
*x = 5;
cout << *x;
return 0;
}
using namespace std;
int main() {
int x[3] = {8, 16, 24};
*x = 5;
cout << *x;
return 0;
}
👍2
❤2
#include <iostream>
using namespace std;
int main() {
for (int i = 0; i < 2; ++i) {
for (int j = 0; j < 1; ++j) {
cout << "*" << endl;
}
}
return 0;
}
using namespace std;
int main() {
for (int i = 0; i < 2; ++i) {
for (int j = 0; j < 1; ++j) {
cout << "*" << endl;
}
}
return 0;
}
ما الكلمة الرئيسية التي نستخدمها لإنشاء متغير من النوع المنطقي؟
Anonymous Quiz
13%
A.Boolean
15%
B.boolean
64%
C.bool
8%
D.Bool
❤1
#include <iostream>
using namespace std;
int main() {
int number = 7;
bool result = (number != 7);
cout << result;
return 0;
}
using namespace std;
int main() {
int number = 7;
bool result = (number != 7);
cout << result;
return 0;
}
👍1
❤1
👍1