Recent programs

switch

atharvathakur · April 17, 2021 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            Int32 value = 1;
            switch(value)
            { case 1: Console.WriteLine("Value is 1");
                    break;
              case 2: Console.WriteLine("Value is 2");
                    break;

Assignment-:8

an anonymous user · April 17, 2021 · Assembly
section .data

 array db 10h,20h,30h,40h,50h
     
 
        msg1: db 'Before overlapped :',0xa
 len1: equ $-msg1

 msg2: db 'After overlapped :',0xa
 len2: equ $-msg2

switch case

an anonymous user · April 17, 2021 · C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace switchsmtt
{
    class Program
    {
        static void Main(string[] args)
        {

Assignment-8

an anonymous user · April 17, 2021 · Assembly
section .data

 array db 10h,20h,30h,40h,50h
     
 
        msg1: db 'Before overlapped :',0xa
 len1: equ $-msg1

 msg2: db 'After overlapped :',0xa
 len2: equ $-msg2

while loop

an anonymous user · April 17, 2021 · C#
using System;

namespace MyApplication
{
  class Program
  {
    static void Main(string[] args)
    {
      int i = 0;
      do 
      {

if else program

an anonymous user · April 17, 2021 · C#
using System;

namespace MyApplication
{
  class Program
  {
    static void Main(string[] args)
    {
      int i = 0;
      do 
      {

if statement

atharvathakur · April 17, 2021 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
             Int32 value = 12;
            
            if(value<15)
            {
                Console.WriteLine("Value is less than 15");
            }

find avg

an anonymous user · April 17, 2021 · C#
using System;

namespace MyCompiler {
    class Program {
        
        public static void Main(string[] args) 
        {
            int sum= 0;
            int i;
            float avg;
            for(i=0;i<=0;i++)

find avg

an anonymous user · April 17, 2021 · C#
using System;

namespace MyCompiler {
    class Program {
        
        public static void Main(string[] args) 
        {
            int sum= 0;
            int i;
            float avg;
            for(i=0;i<=0;i++)

Employee

an anonymous user · April 17, 2021 · SQL
-- create a table
CREATE TABLE employee (
  employee name TEXT PRIMARY KEY,
  gender TEXT NOT NULL,
  city TEXT, 
  DOJ TEXT
  );
-- insert some values
INSERT INTO employee VALUES ('Saurabh','M', 'Hyderabad', '12/3/2020');
INSERT INTO employee VALUES ('Rahul','M', 'Hyderabad', '12/4/2020');
INSERT INTO employee VALUES ('Rohit','M', 'Bangalore', '12/5/2020');

17April.r

an anonymous user · April 17, 2021 · R
fruits = c('apple','banana','anything')
numbers = c(45,76,85,42)
myvec = c(fruits,numbers)
# print(class(myvec))
# print(myvec)
#print(fruits)

#print(class(fruits))

# Creating a sequence start:end
# print(3:27)

If statement

an anonymous user · April 17, 2021 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            int32 value=11; 
            if(value<10){
            Console.WriteLine("value is less than 10");
           } 
           else
            {Console.WriteLine("value is greater than 10"); 

If statement

an anonymous user · April 17, 2021 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            int32 value=11; 
            if(value<10){
            Console.WriteLine("value is less than 10");
           } else
            {Console.WriteLine("value is greater than 10"); 
            }

Hola mundo2

an anonymous user · April 17, 2021 · C
#include <stdio.h>
#include <stdlib.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main() {
    
    printf("Hola a Todos");
    printf("Como se Encuentran?");
    return (0);
}

if else program

an anonymous user · April 17, 2021 · C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace if_program
{
    class Program
    {
        static void Main(string[] args)
        {
            Int32 value = 11;

Even or odd

an anonymous user · April 17, 2021 · R
num = as.integer(readline(prompt="Enter a number: "))
if((num %% 2) == 0) {
    print(paste(num,"is Even"))
} else {
    print(paste(num,"is Odd"))
}

If statement

an anonymous user · April 17, 2021 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            int32 value=11; 
            if(value<10){
            Console.WriteLine("value is less than 10");
            else
            {Console.WriteLine("value is greater than 10"); 
            

dbms lab class

an anonymous user · April 17, 2021 · SQL
create table employee(emp_id varchar(100) PRIMARY KEY,empname varchar(100),dept_id varchar(50),mngr varchar(50),doj date,salary int(8));
insert into employee values('100','arnav','34','raja','2001-01-08',50000);
insert into employee values('101','joshi','34','raja','1999-05-01',44000);
create table department(dept_id varchar(50),deptname varchar(50),incharge varchar(50));
insert into employee values('99','John newman','01','david atwood','1990-09-09',100000);
insert into employee values('102','

If program

an anonymous user · April 17, 2021 · C#
using System;
using system. collection. Generic;
using system.Ling;
using system.test;
using system.Threading.Tasks;
namespace Depoapplication{
 {
    class Program {
        static void main (string []args) 
        { int 32 value=11;
           if 32 value=11;

If program

an anonymous user · April 17, 2021 · C#
using System;
using system. collection. Generic;
using system.Ling;
using system.test;
using system.Threading.Tasks;
namespace Depoapplication{
 {
    class Program {
        static void main (string []args) 
        { int 32 value=11;
           if 32 value=11;