What do you want to save?
Add Code snippet
New code examples in category C++
-
A-312 2022-03-17 17:40:44
F && T || !(T) && F
F && T || !(T) && F Add solution -
A-312 2022-03-17 17:15:04
top view of binary tree c++
/* This is not the entire code. It's just the function which implements bottom view. You need to write required code. */ // Obj class is used to store node with it's distance from parent. class Obj { public: Node *root; int dis; /... Add solution -
-
Awgiedawgie 2022-03-17 03:00:05
nested for loops pyramid c++
//WAP to print triangle pattern... LOGIC int num{}, i{1}; cin >> num; while (i <= num) { for (int space = 1; space <= (num - i); space++) { // space cout << " "; } for (int value = 1; value <= (2 * i -... Add solution -
Bippy 2022-03-16 23:40:31
c++ check if odd or even
#include <iostream> using namespace std; int main() { int n; cout << "Enter an integer: "; cin >> n; (n % 2 == 0) ? cout << n << " is even." : cout << n << " is odd.";... Add solution
Best helpers
Erwin
+5
Dr.khan
+5
Volker Kamin
+5
Akash Patel
+5
Bill Reason
+5
Sultan
+5
Rednryt
+5
GuitarFan
+5
Emdms
+5
Ljs
+5
Vlk
+5
Hrishioa
+5
Rpeinhardt
+5
Boehmi
+5
Bobby J
+5
Terry-s
+5
Mururoa
+5