Skip to content

Instantly share code, notes, and snippets.

#include<iostream>
using namespace std;
#include<conio.h>
#include<stdio.h>
#include<string.h>
char reg[20];
void postfix();
void e_nfa();
void disp(int,char,int);
int main()
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="AcadmiaMaster.master.cs" Inherits="MYprojectAcdamia.AcadmiaMaster" %>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
</title>
<style>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="linkdropDown.aspx.cs" Inherits="WebApplication2.linkdropDown" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
@BharatModani
BharatModani / linkDropdown.aspx
Created June 12, 2019 12:19
DropDown listConnection
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="linkdropDown.aspx.cs" Inherits="WebApplication2.linkdropDown" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
@BharatModani
BharatModani / WebForm1.aspx.designer.cs
Created June 7, 2019 05:20
UI calculator in c#.net ,HTML
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace CALCULATORintern {
@BharatModani
BharatModani / gist:0eeb5423dea23e460c4ac37bbcfed3af
Created June 6, 2019 12:03
Calculate and print the sum of the elements in an array, keeping in mind that some of those integers may be quite large. Function Description Complete the aVeryBigSum function in the editor below. It must return the sum of all array elements. aVeryBigSum has the following parameter(s): ar: an array of integers . Input Format The first line of th…
#include <bits/stdc++.h>
using namespace std;
int main()
{
long int a[10];
int n;
cin>>n;
for (int i = 0; i < n; i++) {
cin>>a[i];
}
@BharatModani
BharatModani / gist:938b8be91e75a5ea5a319bb858534245
Created April 13, 2019 19:45
WRITE A JAVA METHOD TO COUNT ALL VOWELS IN A STRING
import java.util.*;
import java.io.*;
public class pub {
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
String a;
a=s.next();
int count=0;
@BharatModani
BharatModani / gist:ec2df779cff359086fe6ebce1c046f99
Created April 13, 2019 19:40
WRITE A PROGRAM IN JAVA TO DISPLAY THE CUBE OF THE NUMBER UPTO A GIVEN AN INTEGER
import java.util.*;
import java.io.*;
import java.lang.*;
public class pub {
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
double a,b,c;
a=s.nextDouble();
@BharatModani
BharatModani / gist:922a23e554d82449edf962ae3f612e23
Created April 13, 2019 19:37
A METHOD TO FIND THE SMALLEST NUMBER AMONG THREE NUMBERS
import java.util.*;
import java.io.*;
import java.lang.*;
public class pub {
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
double a,b,c;
a=s.nextDouble();
@BharatModani
BharatModani / gist:c7b1fced3a5dcc329d70a42e6749ab3b
Created April 13, 2019 19:28
WRITE A JAVA PROGRAM TO ADD TWO MATRICES OF THE SAME SIZE
import java.util.*;
public class pub {
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
int a[][]=new int[20][20];
int b[][]=new int[20][20];
int c[][]=new int[20][20];
for(int i=0;i<3;i++)