What do you want to save?
Add Code snippet
New code examples
-
Java 2021-08-31 04:38:02
4 digit armstrong number in java
// Check whether a given number is armstrong number or not import java.util.Scanner; public class ArmstrongNumber { public static void main(String[] args) { int x, y, z = 0, temp; Scanner sc = new Scanner(System.in); System.out.pri... Add solution -
Other 2021-08-31 03:53:02
calculating velocity of a body using neo6m
#include <Arduino.h> #include "NMEAGPS.h" #include <NeoSWSerial.h> NeoSWSerial mySerial(4, 3); // RX, TX// NMEAGPS gps; gps_fix fix; uint8_t GPSupdates = 0; void setup() { // Open serial communications and wait for... Add solution -
Java 2021-08-30 16:07:01
diamond star in java
import java.util.Scanner; public class Diamond { public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.out.println("Enter N : "); int n=sc.nextInt(); System.out.print("Enter Symbol : "); &nb... Add solution -
Python 2021-08-30 14:00:02
python matrix calculation
# A basic code for matrix input from user R = int(input("Enter the number of rows:")) C = int(input("Enter the number of columns:")) # Initialize matrix matrix = [] print("Enter the entries rowwise:") # For use... Add solution -
Java 2021-08-30 12:53:02
calculator program in java
// this was all coded by me, to use it get Eclipse, or IntelliJ and make a new // Java Project package javaCode; import java.util.Scanner; public class testCode { public static void main(String[] args) { Scanner scan = new Scanner(System.in); ... Add solution -
Other 2021-08-28 03:28:02
capturing-video-from-two-cameras-in-opencv-at-once
import cv2 import threading class camThread(threading.Thread): def __init__(self, previewName, camID): threading.Thread.__init__(self) self.previewName = previewName self.camID = camID def run(self): print("St... Add solution -
Java 2021-08-27 12:56:02
Java program to convert decimal number to binary & count number of 1s
// decimal to binary conversion in java import java.util.Scanner; public class DecimalBinaryDemo { public static void main(String[] args) { int number, count = 0, temp; String strConvert = ""; Scanner sc = new Scanner(Sys... Add solution
Best helpers
Ranking is empty