Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Modulul 3, Exerciţiul 2 – Crearea şi utilizarea unui tip struct
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public enum AccountType {Cec,Deposit}; public struct BankAccount { public long accNumber ; public int interestRate; public AccountType accType ; } public class Program { public static void Main(string[] args) { BankAccount account; account.accNumber = 123; account.interestRate = 3200; account.accType = AccountType.Cec; //Your code goes here Console.WriteLine("Hello, account values are: \n accNumber : {0} \n interestRate : {1} \n accType : {2}",account.accNumber,account.interestRate,account.accType); } } }
run
|
edit
|
history
|
help
0
Sum of digit using recursion
Square Integer Matrix
sulu
RegularExpressions
== and Equals Differeance in C#
75 95
Testing bitwise stuff
MC
Linked list solution with remove
number to words in lithuanian