What do you want to save?
Add Code snippet
New code examples
-
Python 2021-09-03 22:10:01
c++ to python code converter
#include <iostream> using namespace std; int main() { char gender; double bodyweight, wrist, waist, hip, forearm, B, bodyfat, bfPercentage, A1, A2, A3, A4, A5; bodyfat = bodyweight - B; bfPercentage = (bodyfat * 100) / bodyweight; ... Add solution -
C++ 2021-09-03 11:19:01
make an x using asterisk c++
//This is one that will involve user input to create an "X" using //Asterisks. #include <iostream> using namespace std; int main() { int size; cout << "This is where you ask for size: "; cin >> size; fo... Add solution -
Other 2021-09-03 08:35:02
in instantiation of function template specialization 'std::__1::__gcd<int>' requested here
#include <iostream> #include <vector> #include <numeric> using namespace std; int main() { int n; cin >> n; vector<int> a(n); for(int i = 0; i < n; ++i) cin >> a[i]; int ans = a[0]; for(int i = 1; i < n; +... Add solution -
C++ 2021-08-29 20:21:02
Register code c++
#include <iostream> #include <string> #include <stdlib.h> #include <fstream> using namespace std; void mainmenu(); int choice; bool cinfail; int confirmation; string username, password, password2; void writetofile(string u... Add solution -
C++ 2021-08-29 06:16:01
3x3 matrix multiplication in c++
#include <iostream> using namespace std; int main() { int a[10][10], b[10][10], mult[10][10], r1, c1, r2, c2, i, j, k; cout << "Enter rows and columns for first matrix: "; cin >> r1 >> c1; cout << ... Add solution -
C++ 2021-08-29 02:47:01
c++ calculator script
#include <iostream> using namespace std; int main() { cout << "Welcome to the Calculator, write :cancel: to cancel the calculator\n"; string cancel; while(cancel != "cancel") { int number1 = 0; int number2 =... Add solution