CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 23:28:11 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=029ac21bcb833d75e51ae300d4f645320654f37aedd535d6bd0c3ee32b57304da%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22NkHT6m3-BycpTaSkYRSxfBD93EdVJT19%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d221e61a0525e0-BLR
Imports SystemModule ApplicationValidation Sub Main() ' Inpu - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports System
- Module ApplicationValidation
- Sub Main()
- ' Input from user
- Console.Write("Enter city of birth: ")
- Dim cityOfBirth As String = Console.ReadLine()
- Console.Write("Enter city where birth certificate was issued: ")
- Dim certificateCity As String = Console.ReadLine()
- Console.Write("Enter CNAM paper issue date (yyyy-mm-dd): ")
- Dim issueDateInput As String = Console.ReadLine()
- Dim cnamPaperIssueDate As DateTime
- ' Validate the entered date
- If DateTime.TryParse(issueDateInput, cnamPaperIssueDate) Then
- ' Call validation method
- ValidateApplication(cityOfBirth, certificateCity, cnamPaperIssueDate)
- Else
- Console.WriteLine("Invalid date format. Please use yyyy-mm-dd.")
- End If
- End Sub
- Function ValidateBirthCertificate(cityOfBirth As String, certificateCity As String) As Boolean
- If cityOfBirth.ToLower() <> certificateCity.ToLower() Then
- Console.WriteLine("Application refused because Birth certificate must be issued in the city of birth.")
- Return False
- End If
- Return True
- End Function
- Function ValidateCnamPaper(issueDate As DateTime) As Boolean
- Dim sixMonthsAgo As DateTime = DateTime.Now.AddMonths(-6)
- If issueDate < sixMonthsAgo Then
- Console.WriteLine("Application refused because CNAM paper must be issued within the last six months.")
- Return False
- End If
- Return True
- End Function
- Sub ValidateApplication(cityOfBirth As String, certificateCity As String, issueDate As DateTime)
- ' Using AndAlso to ensure short-circuiting
- If ValidateBirthCertificate(cityOfBirth, certificateCity) AndAlso ValidateCnamPaper(issueDate) Then
- Console.WriteLine("Application is valid.")
- Else
- Console.WriteLine("Application is not valid.")
- End If
- End Sub
- End Module
Advertisement
Add Comment
Please, Sign In to add comment
-
✅⭐ Make huge profits on trading ⭐⭐ 7
JavaScript | 1 sec ago | 0.25 KB
-
⭐⭐⭐Profit Method⭐⭐
Java | 2 sec ago | 0.10 KB
-
⭐⭐⭐Exploit 500$ in 15 Minutes⭐⭐
Java | 2 sec ago | 0.10 KB
-
📌 ChangeNOW Exploit
JavaScript | 3 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ W
JavaScript | 5 sec ago | 0.25 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 10 sec ago | 0.25 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ X
JavaScript | 14 sec ago | 0.25 KB
-
⭐⭐⭐Instant Profit Method⭐⭐
Java | 14 sec ago | 0.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand