This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include io.h | |
cr equ 0dh | |
lf equ 0ah | |
data segment | |
la db cr,lf,'Enter a',0 | |
lb db cr,lf,'Enter b',0 | |
l1 db cr,lf,'Enter x',0 | |
ly db cr,lf,'Enter y',0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
public class Identifier | |
{ | |
public static void main(String [] args)throws IOException | |
{ | |
String id; | |
BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); | |
System.out.println("Enter a string: "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
public class Real | |
{ | |
public static void main(String[] args) | |
{ | |
BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); | |
String in; | |
try{ | |
System.out.println("Enter string"); | |
in = br.readLine(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
struct Node{ | |
int info; | |
struct Node *next; | |
}; | |
typedef struct Node *nodeptr; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<stdlib.h> | |
struct stack | |
{ | |
int info; | |
struct stack *next; | |
}; | |
typedef struct stack *s; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Palindrome | |
#include "stdio.h" | |
#include "stdlib.h" | |
struct Node{ | |
char info; | |
struct Node *next; | |
}; |
NewerOlder