Recent programs

Prime numbers

an anonymous user · June 01, 2020 · C++
#include <iostream>

int main() {
   int n,i,m=0,flag=0;
   cout<<"enter the nu.to check prime nu";
   cin>>n;
   m=n/2;
   for(i=0;i<=m;i++)
     { 
         if(n%i==0)
         {

Hello

an anonymous user · June 01, 2020 · Typescript
const message:string = "hello world!";
console.log(message);

Code

an anonymous user · June 01, 2020 · C
#include <stdio.h>

int main() {
    printf("1 -> 3 -> 4 ->6 -> 7 -> 10\nEnter element to search: 6\n 6 element is present");
    return 0;
}

c program

an anonymous user · June 01, 2020 · C
#include<stdio.h>
#include<string.h>

struct dat//for date(month and day
{
    int d,m;//d=day,m=month
};
int clscanf();//check class (1-12)
struct student
{
    struct dat dt;

c program

an anonymous user · June 01, 2020 · C
#include<stdio.h>

struct dat//for date(month and day
{
    int d,m;//d=day,m=month
};
int clscanf();//check class (1-12)
struct student
{
    struct dat dt;
    float f,fine,tot,adv,due;//f=fee

c program

an anonymous user · June 01, 2020 · C
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<conio.h>
#include<windows.h>
struct dat//for date(month and day
{
    int d,m;//d=day,m=month
};
int clscanf();//check class (1-12)
struct student

pad

an anonymous user · June 01, 2020 · Assembly
section .data
    msg db "Hello world!", 0ah

section .text
    global _start

_start:
    mov rax, 1
    mov rdi, 1
    mov rsi, msg
    mov rdx, 13

12

an anonymous user · June 01, 2020 · Lua
local render = fatality.render;
local callbacks = fatality.callbacks;

local entity_list = csgo.interface_handler:get_entity_list();
local global_vars = csgo.interface_handler:get_global_vars();

local data = {
    alpha = 0
}

local function on_event(event)

programa de prueba j

an anonymous user · June 01, 2020 · C
#include <stdio.h>

int main() {
    printf("Hola mundo!\n\n");
    printf("Mi nombre es Jessica Rocio Garayzar Aguayo\n");
    printf("Tengo 14 aƱos\n");
    printf("Vivo en Ensenada, Baja Californa\n");
    return 0;
}

x keisan

an anonymous user · June 01, 2020 · Fortran
program keisan
implicit none 
real a,x
write(*,*) 'input real x'
read(*,*) x
a=1/(2+2*x+x**2)
write(*,*) '1/(2+2*x+x**2)=',a
end program keisan

Stat

an anonymous user · June 01, 2020 · R
#marks of the student
x<-c(20,12,18,17,15,18,22,24,28,23,25,18,17,22,15,40,18,21,23,22);x
#total number of observation
length (x)
#summation value of the marks
sum(x)
#arithimatic mean
mean<-sum(x)/length (x);mean
#arithimatic mean by direct method
mean(x)
#calculation of geomatric mean 

Stat

an anonymous user · June 01, 2020 · R
#marks of the student
x<-c(20,12,18,17,15,18,22,24,28,23,25,18,17,22,15,40,18,21,23,22);x

m.c

an anonymous user · June 01, 2020 · Deno
#include<stdio.h>
main()
{
    int i,n,j;
    char a[i],b[j];
    scanf("%d",&n);
    for(i=0;i<n;i++)
    scanf("%c",&a[i]);
    for(j=0;j<n;j++)
    scanf("%c",&b[i]);
    for(i=0;i<n;i++)

sidkio

an anonymous user · June 01, 2020 · R
#mark of the student
x<-c(20,12,18,17,15,18,22,24,28,23,25,18,17,22,15,40,18,21,23,22);x
#total no of observation
length(x)
#summation values of the marks
sum(x)
#arithematic mean is
mean<-sum(x)/length(x);mean
#arithematicmean by direct method
mean(x)
#calculation of geomatric mean

Stat

an anonymous user · June 01, 2020 · R
#marks of the student
x<-c;x
#total number of observation
length(x)
#summation values of the mark
sum(x)
#arithmatic mean
mean<-sum(x)/length (x)

Prakash.R

an anonymous user · June 01, 2020 · R
#marks of the student
x<-c(20,12,18,17,15,18,22,24,28,23,25,18,17,22,15,40,18,21,23,22);x
#total number of observation
length (x)
#summation value of the marks
sum(x)
#arithimatic mean
mean<-sum(x)/length (x);mean
#arithim mean by direct direct
mean(x)
#calculation of geometric mean

Prakash.R

an anonymous user · June 01, 2020 · R
#marks of the student
x<-c(20,12,18,17,15,18,22,24,28,23,25,18,17,22,15,40,18,21,23,22);x
#total number of observation
length (x)
#summation value of the marks
sum(x)
#arithimatic mean
mean<-sum(x)/length (x);mean
#arithim mean by direct direct
mean(x)
#calculation of geometric mean

Stat

an anonymous user · June 01, 2020 · R
#marks of the student
x<-c;x
#total number of observation
length (x)
#summation values of the marks
sum(x)
#arithmatic mean
mean<-sum(x)/length (x)
arithmatic mean by direct code
mean(x)
#calculation of geomatie mean 

Stat

an anonymous user · June 01, 2020 · R
#marks of the student
x<-c;x
#total number of observation
length (x)
#summation values of the marks
sum(x)
#arithmatic mean
mean<-sum(x)/length (x)
arithmatic mean by direct code
mean(x)
#calculation of geomatie mean 

Stat

an anonymous user · June 01, 2020 · R
#marks of the student
x<-c;x
#total number of observation
length (x)
#summation values of the marks
sum(x)
#arithmatic mean
mean<-sum(x)/length (x)
arithmatic mean by direct code
mean(x)
#calculation of geomatie mean