Index-1              Index-2              Home Page
Showing posts with label file. Show all posts
Showing posts with label file. Show all posts

Lexical Analysis

Write a program to get the following equation as input from a file and create token(s) on another file for the possible variable to get the value from the user. After get the value from the user, regenerate all the token(s) on another file for calculation . 

Equation:
x = (a+b)/2 + 4*b

c program to calculate any kind of equation

Write a program using c/c++/java, which can calculate any kind of equation. Implement the concept of Lexical with Semantic Analysis. Sample input: x = (a+b)/2 + 4*b.




<< Go to Index Page >>

c program to count vowel, consonant, arithmetic operator, special character, word and sentence from a multiple line string

Write a c program to count vowel, consonant, arithmetic operator, special character, word and sentence from a string in a file and save the output in another file

<< Go to Index Page >>

c program to count vowel, consonant, arithmetic operator, special character, word and sentence

Write a c program to count vowel, consonant, arithmetic operator, special character, word and sentence from a string in a file and save the output in another file


<< Go to Index Page >>

c program to read a string from a file and write it to the another file

Write a c program to read a string from a file and write it to the another file


<< Go to Index Page >>

c program to read a string from a file

Write a c program to read a string from a file


<< Go to Index Page >>

c program to write a string into a file

Write a c program to write a string into a file

<< Go to Index Page >>

c program to count word and sentence

Write a c program to count word and sentence from a given string as like "I love Bangladesh."


<< Go to Index Page >>