No products in the cart.

write a program to read the …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

write a program to read the file "content.txt". Count how many words length is equal to 2 and print all 3 letters words in c++
  • 2 answers

Aayush Jain 5 years, 1 month ago

Do you completed your project

Manush Sekaran 5 years, 1 month ago

#include<iostream.h> #include<fstream.h> void main() { char word[i],; ifstream.open("content.txt"||ios::in); if(word[i=2]) count++; else if(word[i=3]) cout<<word; else break; ifstream.close(); } I hope it is correct.
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App