Savitribai Phule Pune University T.Y.B.B.A.(C.A.) Dot Net Framework Practical Slip 19 Answers

  Dot Net Framework


 Dot Net Framework

A) Write a VB.NET program to check whether enter string is palindrome or not.

Answer :

Public Class Form1

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

        Dim str, rev As String

        str = TextBox1.Text

        rev = StrReverse(str)

        If (str = rev) Then

            MessageBox.Show("String is Palindrome : " & str)

        Else

            MessageBox.Show("String is Not Palindrome : " & str)

        End If

    End Sub

End Class

 

Output :


B) "How is the book ASP.NET with C# by Wrox publication?"

 Give the user three choices :

 i)Good ii)Satisfactory iii)Bad.

Provide a VOTE button. After user votes, present the result in percentage using labels

next to the choices.

Answer :

Output :


Savitribai Phule Pune University T.Y.B.B.A.(C.A.) Dot Net Framework Practical Slip 19 Answers Savitribai Phule Pune University T.Y.B.B.A.(C.A.) Dot Net Framework Practical Slip 19 Answers Reviewed by technical_saurabh on May 02, 2022 Rating: 5

No comments:

Powered by Blogger.