How to Save a Code ?
There is no save button to save the code in my profile that i found so plzzz help me
9 Answers
4 years ago by Abhay Bisht
@Abhay Bisht All the codes you run are automatically stored towards your profile.
So simply click on Run button to save the code.
4 years ago by OneCompiler
- Go to the top of the compiler, where it has a string of characters, followed by a pencil icon
- Click the pencil icon
- Rename the project to whatever you want (Optional, Default is the string of characters form before)
- Give it a description (Optional)
- Make it public or private (Default is public)
- Click "Save"
4 years ago by Jacob Morrison
#include <stdio.h>
main () {
int sum = 0;
for(int i = 25; i <= 173; i++) {
sum = sum + 5 * i + 2;
}
printf("The result of the summation is: %d", sum);
}
9 months ago by Erin Charlize Llanto
/**
- Function to log "KING" in big block letters to the console.
*/
function displayKing() {
const K =
"K K\nK K\nKK\nK K\nK K";
const I =
"III\n I \n I \n I \nIII";
const N =
"N N\nNN N\nN NN\nN NN\nN N";
const G =
" GGG\nG G\nG \nG G\n GGG";
console.log(${K}\n\n${I}\n\n${N}\n\n${G});
}
// Call the function to display the name
displayKing();
28 days ago by buyingsquash