No products in the cart.

Write a C++ program that accepts …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a C++ program that accepts a character between a to j and prints next 4 characters.
  • 1 answers

Sweety Sheoran 7 years, 2 months ago

#include<iostream.h> #include<conio.h> void main() {Clrscr(); char ch,ch1, ch2, ch3,ch4; cout<<"enter a character between a and j "; cin>>ch; into num=ch; ch1=ch+1; ch2=ch+2; ch3=ch+3; ch4=ch+4; cout<<"\n next four characters are"; cout<<"\n"<<ch1 <<ch2 <<ch3 <<ch4; getch(); }
http://mycbseguide.com/examin8/

Related Questions

Write a program for swapping two numbers
  • 1 answers
Write a program for swapping two numbers?
  • 0 answers
Define packages
  • 0 answers
What is alu
  • 1 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