What do you want to save?
Add Code snippet
New code examples
-
C 2021-11-13 14:28:13
ask the user if they would like to do something again in C
#include<stdio.h> int main(){ int x, y, sum; char ch; print: printf ("Enter the first number:"); scanf ("%d",&x); printf ("Enter the second number:"); scanf ("%d",&y); sum=x+y; ... Add solution -
C 2021-11-13 08:30:19
printf("%5.1f\n", x);
#include<stdio.h> int main() { float a=3.15529; printf("%2.1f\n", a); return 0; } [A]. 3.00 [B]. 3.15 [C]. 3.2 @ [D]. 3 Answer: Option C Explanation: float a=3.15529; The variable a is declared as an float data type and i... Add solution -
Other 2021-11-09 08:20:08
printing hello world without using header file in c
//hello guys here i am going to print hello world without using header file stdio.h int printf(const char* string,...); int main() { printf("hello world"); } /*you must know that a header file just contains the declarations ,so i have declared... Add solution -
Other 2021-11-09 02:07:11
How do I tell which command has the longest manual on my system?
$ find /usr/share/man/ -type f -exec ls -S {} + 2>/dev/null | head | while \ read -r file; do printf "%-40s" "$file"; \ man "$file" 2>/dev/null | wc -lwm; done | sort -nrk 4 Add solution -
Shell/Bash 2021-11-06 13:50:17
how to pull private docker image in helm charts
# values.yaml imageCredentials: name: credentials-name registry: private-docker-registry (eg: https://index.docker.io/v1/) username: user password: pass replicaCount: 1 application: name: votingApp group: app container: image: votingA... Add solution -
C 2021-11-04 01:15:13
prime or composite in c using function
#include<stdio.h> int prime_composite(int num); void main() { int n,ret; printf ("Enter a number: "); scanf ("%d",&n); ret = prime_composite(n); if(ret == 2 ) printf("\nThe number is Prime\... Add solution -
Shell/Bash 2021-11-03 09:24:24
self documenting makefile
.PHONY: help help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' # All rules with double-hash comments will be automatically displayed in th... Add solution
Best helpers
SOUMEN
+5
Huggy Buggy
+5
Joyo
+5
ImMathan
+5
Anugram
+5
Vy32
+5
Daniel Cook
+5
Florian Huit
+5
Csandreas1
+5
B_archer
+5
Horse
+5
Kd88
+5
Shahruz Raad
+5
Mick Daw
+5
Czlsws
+5