TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pushpa Nagarajan
NA
1
1.6k
Not Getting output of the program
Feb 20 2014 2:09 AM
namespace WebApplication1.Test
{
public partial class WebForm1 : System.Web.UI.Page
{
int var;
//login dataobject = new login();
protected void btnSubmit_Click(object sender, EventArgs e)
{
var = Convert.ToInt32(txtname.Text);
lblresult.Text = var.ToString();
fabinoci(var);
}
protected static void fabinoci(int var)
{
string name;
int a=0, b=1, c=0;
Console.WriteLine("{0} {1}", a, b);
name = Console.ReadLine();
for (int i = 2; i < var; var++)
{
c=a+b;
Console.WriteLine("{0}", c);
a=b;
b=c;
}
//return var;
}
}
}
Not Getting output of the program
Reply
Answers (
2
)
Crystal Reports
Radio buttons in Lightswitch web app