ABCDCBA
ABC CBA
AB BA
A A
Answers were Sorted based on User's Feedback
Answer / aarti
a.b.c=c.b.a this statement should be inside any program ang
this should give real meaning
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / notgate779
http://allinterview.com/showanswers/89174.html
<a
href="http://allinterview.com/showanswers/89174.html">click</a>
| Is This Answer Correct ? | 0 Yes | 4 No |
Answer / mathu
import java.io.*;
class MainAlpha{
public static void main(String args[])
{
for(int i=65;i<=67;i++){
System.out.printf("%c",i);
System.out.printf("\t");
}
System.out.print("");
for(int j=66;j>=65;j--){
System.out.printf("%c",j);
System.out.printf("\t");
}
System.out.println("");
for(int i=65;i<=66;i++){
System.out.printf("%c",i);
System.out.printf("\t");
}
System.out.print("\t");
for(int j=66;j>=65;j--){
System.out.printf("%c",j);
System.out.printf("\t");
}
System.out.println("");
for(int i=65;i<=65;i++){
System.out.printf("%c",i);
System.out.printf("\t");
}
System.out.print("\t");
System.out.print("\t");
System.out.print("\t");
for(int j=65;j>=65;j--){
System.out.printf("%c",j);
System.out.printf("\t");
}
}
}
| Is This Answer Correct ? | 3 Yes | 7 No |
Answer / vignesh1988i
good question it is :
#include<stdio.h>
#include<conio.h>
void main()
{
int m;
char n,o;
printf("enter the no. of lines :");
scanf("%d",&m);
o='A';
for(int i=0;i<m;i++)
{
n='A';
for(int j=0;j<(m-i);j++)
printf("%c",n++);
for(j=0;j<i;j++)
printf(" ");
for(j=0;j<(m-(i+1));j++)
{
if(j==0||j==1)
{
n='A'+(m-2);
printf("%c",n);
}
else
printf("%c",--n);
}
printf("\n");
}
getch();
}
thnak u
| Is This Answer Correct ? | 10 Yes | 16 No |
plz answer..... a program that reads non-negative integer and computes and prints its factorial
Explain c preprocessor?
What language is windows 1.0 written?
how to print this sereis 2 4 3 6 5..........?
Is there any data type in c with variable size?
is assignment operator is arithmatic or not
write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)
26 Answers ADITI, iFlex, Infosys, Oracle, TCS, Unicops, Wipro,
How we add our function in liabrary as liabrary function. Exp. we want use our int factorical(int); function as int pow(int,int); function working in math header file.
What is the purpose of type declarations?
Write a program in C to convert date displayed in gregorian to julian date
f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?
What are derived data types in c?